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
- InProcStateClientManager.cs
- NumberFunctions.cs
- PolyLineSegmentFigureLogic.cs
- Mutex.cs
- ListViewUpdatedEventArgs.cs
- ParallelDesigner.xaml.cs
- WebBrowser.cs
- LambdaCompiler.Generated.cs
- DefaultWorkflowTransactionService.cs
- ScaleTransform.cs
- DescriptionAttribute.cs
- StorageSetMapping.cs
- CounterSample.cs
- RequestCache.cs
- AccessedThroughPropertyAttribute.cs
- SafeNativeMethods.cs
- ToolZone.cs
- StyleCollectionEditor.cs
- SqlRemoveConstantOrderBy.cs
- HttpCapabilitiesBase.cs
- DrawListViewSubItemEventArgs.cs
- SafeFileMappingHandle.cs
- ViewGenResults.cs
- DataError.cs
- ExceptionCollection.cs
- MsmqEncryptionAlgorithm.cs
- DetailsViewPageEventArgs.cs
- PageAdapter.cs
- HitTestResult.cs
- Geometry3D.cs
- UncommonField.cs
- XmlNamespaceMapping.cs
- PageResolution.cs
- AstTree.cs
- ToolStripGripRenderEventArgs.cs
- OracleColumn.cs
- AdapterDictionary.cs
- VolatileResourceManager.cs
- DetailsViewPagerRow.cs
- DBCommandBuilder.cs
- TdsParserStaticMethods.cs
- Transform3DGroup.cs
- CryptoConfig.cs
- WebOperationContext.cs
- LoadedOrUnloadedOperation.cs
- WebPartsPersonalization.cs
- ToolStripPanel.cs
- Config.cs
- PagerSettings.cs
- TdsParserStateObject.cs
- EmptyCollection.cs
- BaseTemplateBuildProvider.cs
- RelatedCurrencyManager.cs
- WindowsPrincipal.cs
- AvtEvent.cs
- Int64Storage.cs
- DialogDivider.cs
- TraceUtils.cs
- printdlgexmarshaler.cs
- Size3DConverter.cs
- TypefaceMetricsCache.cs
- URLMembershipCondition.cs
- XmlAttributeCollection.cs
- GeneratedContractType.cs
- LongValidator.cs
- SecurityAlgorithmSuite.cs
- TextRenderer.cs
- FileDialogCustomPlace.cs
- TreeView.cs
- EntityDataSourceContainerNameItem.cs
- VisualBasic.cs
- EventDescriptorCollection.cs
- DnsPermission.cs
- DispatcherEventArgs.cs
- TemplateControlParser.cs
- BrowserTree.cs
- HttpWriter.cs
- COM2ComponentEditor.cs
- ToolStripCustomTypeDescriptor.cs
- SspiSafeHandles.cs
- ParserExtension.cs
- SqlNodeTypeOperators.cs
- RepeatInfo.cs
- Divide.cs
- SqlTypeSystemProvider.cs
- Model3D.cs
- Substitution.cs
- Padding.cs
- DataListItemEventArgs.cs
- XmlDsigSep2000.cs
- UrlPath.cs
- BuildProviderCollection.cs
- XmlNavigatorFilter.cs
- StorageFunctionMapping.cs
- AggregateException.cs
- ToolBarPanel.cs
- RetrieveVirtualItemEventArgs.cs
- Thumb.cs
- UITypeEditor.cs
- DynamicDataManager.cs