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
- CompositeFontParser.cs
- UnmanagedMemoryStream.cs
- VisualStateGroup.cs
- DataRecordInfo.cs
- SspiSafeHandles.cs
- LoadedOrUnloadedOperation.cs
- AutoGeneratedFieldProperties.cs
- TransactionException.cs
- BamlRecordReader.cs
- COM2ExtendedUITypeEditor.cs
- XmlSchemaExporter.cs
- safelink.cs
- IChannel.cs
- SafeHandles.cs
- DmlSqlGenerator.cs
- BitmapMetadataBlob.cs
- X509SecurityToken.cs
- EnumValidator.cs
- TextAnchor.cs
- StrokeSerializer.cs
- PageCatalogPart.cs
- MulticastOption.cs
- UpdateRecord.cs
- AnimatedTypeHelpers.cs
- ElementHost.cs
- InkCanvasFeedbackAdorner.cs
- ImmutablePropertyDescriptorGridEntry.cs
- ImmutableCollection.cs
- __ComObject.cs
- ToolStripGripRenderEventArgs.cs
- Thread.cs
- CurrentTimeZone.cs
- PrintSchema.cs
- localization.cs
- ColumnResizeUndoUnit.cs
- Geometry3D.cs
- _StreamFramer.cs
- DataGrid.cs
- TextTreeFixupNode.cs
- XamlReaderHelper.cs
- DesignTable.cs
- ViewLoader.cs
- ValueTable.cs
- NamespaceMapping.cs
- IntersectQueryOperator.cs
- ToolBarButtonClickEvent.cs
- OperatingSystem.cs
- CountAggregationOperator.cs
- ScrollableControl.cs
- TextBoxDesigner.cs
- SettingsPropertyIsReadOnlyException.cs
- BCLDebug.cs
- Panel.cs
- BorderGapMaskConverter.cs
- Content.cs
- DecimalAnimation.cs
- DeflateStream.cs
- EditorPartChrome.cs
- SizeChangedEventArgs.cs
- ProfileSettingsCollection.cs
- ipaddressinformationcollection.cs
- _ServiceNameStore.cs
- LineSegment.cs
- SingleConverter.cs
- ConditionalBranch.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- LinkClickEvent.cs
- ColorTransformHelper.cs
- HwndSubclass.cs
- SafeRegistryKey.cs
- MULTI_QI.cs
- ValidatingReaderNodeData.cs
- WebPartMovingEventArgs.cs
- webproxy.cs
- Activator.cs
- DetailsViewRowCollection.cs
- FillRuleValidation.cs
- InputReportEventArgs.cs
- ObjectParameterCollection.cs
- GridViewCellAutomationPeer.cs
- CheckBox.cs
- SequenceDesigner.cs
- XmlUrlEditor.cs
- DetailsViewRowCollection.cs
- ItemsPresenter.cs
- DiagnosticSection.cs
- CallContext.cs
- Win32Exception.cs
- InfoCardTrace.cs
- XamlPathDataSerializer.cs
- StreamGeometryContext.cs
- WebBrowsableAttribute.cs
- Variant.cs
- TemplateColumn.cs
- MergeFilterQuery.cs
- DiscoveryDocumentReference.cs
- CodeRegionDirective.cs
- ChannelCacheSettings.cs
- CheckBoxDesigner.cs
- TableNameAttribute.cs