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
- ColumnReorderedEventArgs.cs
- StylusPointPropertyId.cs
- WhiteSpaceTrimStringConverter.cs
- XmlSchemaCompilationSettings.cs
- HtmlFormWrapper.cs
- EntityTemplateFactory.cs
- MergeFailedEvent.cs
- SystemSounds.cs
- CodeCommentStatementCollection.cs
- HtmlContainerControl.cs
- RegexNode.cs
- ListViewDeletedEventArgs.cs
- StructuredTypeEmitter.cs
- ColorKeyFrameCollection.cs
- ImageField.cs
- WebAdminConfigurationHelper.cs
- IndicFontClient.cs
- GeneralTransform.cs
- VBIdentifierTrimConverter.cs
- SqlTypeSystemProvider.cs
- OlePropertyStructs.cs
- SrgsDocument.cs
- CodeDOMProvider.cs
- DynamicResourceExtension.cs
- InternalException.cs
- CodeDomSerializationProvider.cs
- DesignSurfaceEvent.cs
- Win32Exception.cs
- DecimalStorage.cs
- Section.cs
- StylusPointProperties.cs
- RegistryPermission.cs
- _NegoStream.cs
- ViewCellSlot.cs
- OptimalTextSource.cs
- DefaultValueAttribute.cs
- ValidationSummary.cs
- SerializationHelper.cs
- ObjectContextServiceProvider.cs
- exports.cs
- Tablet.cs
- AssociationTypeEmitter.cs
- AutoCompleteStringCollection.cs
- WebEventCodes.cs
- TypeSemantics.cs
- HandlerBase.cs
- safelink.cs
- ScriptResourceDefinition.cs
- File.cs
- QueryableFilterRepeater.cs
- AssemblyHash.cs
- TextBlockAutomationPeer.cs
- BamlLocalizableResourceKey.cs
- SharedUtils.cs
- HttpDictionary.cs
- FunctionImportMapping.cs
- OleDbErrorCollection.cs
- StringPropertyBuilder.cs
- HandlerBase.cs
- HttpWebResponse.cs
- FixedTextSelectionProcessor.cs
- HtmlAnchor.cs
- TextRangeProviderWrapper.cs
- UriSchemeKeyedCollection.cs
- GraphicsPath.cs
- ExecutionContext.cs
- SplitterPanel.cs
- UserCancellationException.cs
- WindowCollection.cs
- ReturnValue.cs
- MetaTable.cs
- WebHttpElement.cs
- CommandConverter.cs
- AdRotatorDesigner.cs
- EventLogInternal.cs
- SecondaryIndex.cs
- FreezableOperations.cs
- FixedNode.cs
- FileFormatException.cs
- InvokeHandlers.cs
- TypeDefinition.cs
- DataServiceRequestOfT.cs
- WebResourceUtil.cs
- MailWebEventProvider.cs
- MobileCategoryAttribute.cs
- DocumentScope.cs
- DictionaryEntry.cs
- ScrollEvent.cs
- TextContainerChangedEventArgs.cs
- SiteMapNodeItemEventArgs.cs
- PageHandlerFactory.cs
- ViewBox.cs
- WindowsEditBoxRange.cs
- SizeKeyFrameCollection.cs
- Currency.cs
- MenuItemBinding.cs
- DoubleCollectionValueSerializer.cs
- EntityKey.cs
- DataFormats.cs
- AdapterUtil.cs