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
- QueryCacheEntry.cs
- SmtpException.cs
- DataGridTextBoxColumn.cs
- Cursor.cs
- ContextItemManager.cs
- XmlSignatureProperties.cs
- Columns.cs
- CommandManager.cs
- PropertyRef.cs
- Repeater.cs
- HtmlInputRadioButton.cs
- SynchronizationContext.cs
- UdpChannelListener.cs
- CompositeActivityMarkupSerializer.cs
- CodeRemoveEventStatement.cs
- RightsManagementInformation.cs
- CreateParams.cs
- MimeXmlImporter.cs
- SqlProviderServices.cs
- Suspend.cs
- MultitargetingHelpers.cs
- ValidatedControlConverter.cs
- SqlClientWrapperSmiStreamChars.cs
- StateDesigner.Helpers.cs
- MobileControlsSection.cs
- DataGridViewColumnCollection.cs
- ClientConfigurationHost.cs
- UTF32Encoding.cs
- SafeSerializationManager.cs
- SafeFileMappingHandle.cs
- BaseWebProxyFinder.cs
- CompilerGeneratedAttribute.cs
- MouseBinding.cs
- PhysicalAddress.cs
- BamlTreeUpdater.cs
- ComponentTray.cs
- FixedSOMElement.cs
- SettingsPropertyValue.cs
- WebScriptMetadataFormatter.cs
- FixedPage.cs
- InternalBufferManager.cs
- QueryExtender.cs
- Vector3DAnimationUsingKeyFrames.cs
- LineServices.cs
- ExtensionQuery.cs
- PublisherIdentityPermission.cs
- MimeImporter.cs
- ActivityStatusChangeEventArgs.cs
- FileClassifier.cs
- EventEntry.cs
- SchemaImporter.cs
- RecordsAffectedEventArgs.cs
- PixelFormat.cs
- CodeStatement.cs
- PackageDigitalSignatureManager.cs
- CodeChecksumPragma.cs
- HttpWriter.cs
- RoleService.cs
- VisualTreeHelper.cs
- Monitor.cs
- ObfuscateAssemblyAttribute.cs
- ActivitySurrogateSelector.cs
- ProviderConnectionPointCollection.cs
- RegisteredArrayDeclaration.cs
- EventDriven.cs
- TypeToken.cs
- PtsHost.cs
- ContentPresenter.cs
- BitArray.cs
- DrawingState.cs
- EventsTab.cs
- ObjectDataSourceStatusEventArgs.cs
- CounterSampleCalculator.cs
- BezierSegment.cs
- HttpTransportBindingElement.cs
- GridViewCellAutomationPeer.cs
- ToolboxComponentsCreatingEventArgs.cs
- StaticFileHandler.cs
- StreamHelper.cs
- Int32Rect.cs
- ThreadInterruptedException.cs
- Int32AnimationBase.cs
- Events.cs
- VScrollBar.cs
- FieldBuilder.cs
- HtmlInputText.cs
- EntityTypeEmitter.cs
- VoiceObjectToken.cs
- InstallerTypeAttribute.cs
- _NTAuthentication.cs
- LayoutEngine.cs
- XmlElementAttribute.cs
- CheckBoxRenderer.cs
- Activator.cs
- PropertyNames.cs
- VirtualDirectoryMapping.cs
- SubpageParaClient.cs
- SqlConnectionPoolGroupProviderInfo.cs
- XmlReflectionImporter.cs
- PagerStyle.cs