Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------- // 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
- DataGridViewMethods.cs
- TagMapInfo.cs
- DataStreams.cs
- InvalidProgramException.cs
- WindowsSpinner.cs
- UdpChannelListener.cs
- SafeNativeMethodsOther.cs
- ByteStreamGeometryContext.cs
- ExpressionLexer.cs
- ParagraphResult.cs
- PreviewPrintController.cs
- CodeComment.cs
- IntSecurity.cs
- ContentOnlyMessage.cs
- RuntimeHelpers.cs
- TransformationRules.cs
- SimpleParser.cs
- Int64.cs
- DisplayMemberTemplateSelector.cs
- ConfigurationStrings.cs
- DataGridViewComboBoxEditingControl.cs
- FunctionDescription.cs
- CreateUserWizardStep.cs
- VirtualPath.cs
- SelectionService.cs
- HybridWebProxyFinder.cs
- ObjectItemAssemblyLoader.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- DbConnectionOptions.cs
- DataBinder.cs
- InstallerTypeAttribute.cs
- DetailsViewPageEventArgs.cs
- WebPartDisplayModeEventArgs.cs
- Button.cs
- XmlAnyAttributeAttribute.cs
- DocumentViewer.cs
- SR.Designer.cs
- SqlDataSourceStatusEventArgs.cs
- StagingAreaInputItem.cs
- TranslateTransform.cs
- EventLogger.cs
- SplitterCancelEvent.cs
- CodeTryCatchFinallyStatement.cs
- Timeline.cs
- Thread.cs
- ToolStripMenuItem.cs
- SecurityTokenReferenceStyle.cs
- DelimitedListTraceListener.cs
- StylusDevice.cs
- TextTreeFixupNode.cs
- QueryOptionExpression.cs
- ListControl.cs
- HttpApplication.cs
- RSAPKCS1SignatureFormatter.cs
- DrawListViewColumnHeaderEventArgs.cs
- SqlServer2KCompatibilityCheck.cs
- _LoggingObject.cs
- FileRecordSequenceCompletedAsyncResult.cs
- BaseCodePageEncoding.cs
- SegmentInfo.cs
- IsolatedStorageException.cs
- AttachedProperty.cs
- SmiTypedGetterSetter.cs
- AnimatedTypeHelpers.cs
- DateTimePickerDesigner.cs
- DataContractSerializerMessageContractImporter.cs
- NameValueCollection.cs
- EnumCodeDomSerializer.cs
- ListControl.cs
- SynchronousReceiveBehavior.cs
- SelectionUIService.cs
- CultureInfoConverter.cs
- GenericsNotImplementedException.cs
- Triplet.cs
- ControllableStoryboardAction.cs
- ItemsControl.cs
- OutputCacheSettings.cs
- HighContrastHelper.cs
- BulletChrome.cs
- MeshGeometry3D.cs
- CapiNative.cs
- MessageBodyDescription.cs
- _TimerThread.cs
- EnumerableValidator.cs
- TerminateDesigner.cs
- DataGridViewComboBoxEditingControl.cs
- SqlDataSourceCustomCommandEditor.cs
- UnmanagedMarshal.cs
- KeyConverter.cs
- CipherData.cs
- DesignerTransactionCloseEvent.cs
- BitmapEffectInputData.cs
- SlotInfo.cs
- LayoutManager.cs
- UpDownEvent.cs
- TypeElement.cs
- ServiceChannelManager.cs
- DataKey.cs
- MimeParameter.cs
- FixedSOMSemanticBox.cs