Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / System.Runtime.DurableInstancing / System / Runtime / WorkflowServiceNamespace.cs / 1305376 / WorkflowServiceNamespace.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Runtime { using System.Xml.Linq; [Fx.Tag.XamlVisible(false)] static class WorkflowServiceNamespace { const string baseNamespace = "urn:schemas-microsoft-com:System.ServiceModel.Activities/4.0/properties"; static readonly XNamespace workflowServiceNamespace = XNamespace.Get(baseNamespace); static readonly XNamespace endpointsNamespace = XNamespace.Get(baseNamespace + "/endpoints"); static XName controlEndpoint; static XName suspendException; static XName suspendReason; static XName siteName; static XName relativeApplicationPath; static XName relativeServicePath; static XName creationContext; static XName service; public static XNamespace EndpointsPath { get { return endpointsNamespace; } } public static XName ControlEndpoint { get { if (controlEndpoint == null) { controlEndpoint = workflowServiceNamespace.GetName("ControlEndpoint"); } return controlEndpoint; } } public static XName SuspendReason { get { if (suspendReason == null) { suspendReason = workflowServiceNamespace.GetName("SuspendReason"); } return suspendReason; } } public static XName SiteName { get { if (siteName == null) { siteName = workflowServiceNamespace.GetName("SiteName"); } return siteName; } } public static XName SuspendException { get { if (suspendException == null) { suspendException = workflowServiceNamespace.GetName("SuspendException"); } return suspendException; } } public static XName RelativeApplicationPath { get { if (relativeApplicationPath == null) { relativeApplicationPath = workflowServiceNamespace.GetName("RelativeApplicationPath"); } return relativeApplicationPath; } } public static XName RelativeServicePath { get { if (relativeServicePath == null) { relativeServicePath = workflowServiceNamespace.GetName("RelativeServicePath"); } return relativeServicePath; } } public static XName CreationContext { get { if (creationContext == null) { creationContext = workflowServiceNamespace.GetName("CreationContext"); } return creationContext; } } public static XName Service { get { if (service == null) { service = workflowServiceNamespace.GetName("Service"); } return service; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AutoGeneratedField.cs
- ToggleProviderWrapper.cs
- ToolStripAdornerWindowService.cs
- ZoomPercentageConverter.cs
- VisualBrush.cs
- SystemMulticastIPAddressInformation.cs
- ArrayMergeHelper.cs
- DataServiceContext.cs
- IndentedTextWriter.cs
- Stack.cs
- SignatureGenerator.cs
- FunctionQuery.cs
- HTTPNotFoundHandler.cs
- TileBrush.cs
- ProfileGroupSettingsCollection.cs
- _emptywebproxy.cs
- EncoderParameters.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- XmlChoiceIdentifierAttribute.cs
- FrameAutomationPeer.cs
- MissingMethodException.cs
- EventMappingSettingsCollection.cs
- CallSiteOps.cs
- AnnotationObservableCollection.cs
- InvalidComObjectException.cs
- MaterialGroup.cs
- ScalarConstant.cs
- MergeFailedEvent.cs
- XamlSerializerUtil.cs
- UnsafeNativeMethods.cs
- Pkcs7Recipient.cs
- CompiledRegexRunnerFactory.cs
- SchemaEntity.cs
- WebPartManager.cs
- X509CertificateChain.cs
- InputGestureCollection.cs
- complextypematerializer.cs
- Pointer.cs
- InputGestureCollection.cs
- DefaultDialogButtons.cs
- Expression.cs
- DBCSCodePageEncoding.cs
- LockedHandleGlyph.cs
- SmiGettersStream.cs
- XmlSchemaSimpleType.cs
- BoundField.cs
- TiffBitmapEncoder.cs
- WindowsUpDown.cs
- DataTableMapping.cs
- SystemTcpStatistics.cs
- ProfessionalColorTable.cs
- followingquery.cs
- PhysicalFontFamily.cs
- MediaElementAutomationPeer.cs
- BaseAutoFormat.cs
- DataGridCaption.cs
- SqlEnums.cs
- QilName.cs
- LocatorPart.cs
- SiteMapPath.cs
- SliderAutomationPeer.cs
- GridViewRowCollection.cs
- XmlNamespaceManager.cs
- IOException.cs
- versioninfo.cs
- StateManager.cs
- MetadataCache.cs
- AnimationClock.cs
- SchemaDeclBase.cs
- NativeActivityTransactionContext.cs
- ActivityCodeDomReferenceService.cs
- SQLDoubleStorage.cs
- ContentType.cs
- XXXOnTypeBuilderInstantiation.cs
- SystemIPv4InterfaceProperties.cs
- BoundField.cs
- ToolStripProgressBar.cs
- ProfileGroupSettingsCollection.cs
- ActivityExecutorOperation.cs
- RestClientProxyHandler.cs
- ArrayList.cs
- TextElementEnumerator.cs
- SafePEFileHandle.cs
- Int32KeyFrameCollection.cs
- Point4D.cs
- OleDbException.cs
- OracleLob.cs
- XmlSchemaAppInfo.cs
- UIElementPropertyUndoUnit.cs
- GrammarBuilderBase.cs
- EmptyStringExpandableObjectConverter.cs
- BasicViewGenerator.cs
- HttpResponseInternalWrapper.cs
- Vector3DAnimationBase.cs
- IndexedString.cs
- FontStretchConverter.cs
- UTF8Encoding.cs
- WindowsClientCredential.cs
- ContentValidator.cs
- StreamResourceInfo.cs