Export (0) Print
Expand All

WorkflowServiceAttributes Class

Note: This API is now obsolete.

Builds the service behavior for the workflow service that it decorates.

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.Activities.WorkflowServiceAttributes

Namespace:  System.Workflow.Activities
Assembly:  System.WorkflowServices (in System.WorkflowServices.dll)

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class WorkflowServiceAttributes : DependencyObject

The WorkflowServiceAttributes type exposes the following members.

  NameDescription
Public methodWorkflowServiceAttributesInitializes a new instance of the WorkflowServiceAttributes class.
Top

  NameDescription
Public propertyAddressFilterModeGets or sets the AddressFilterMode enumeration that is used by the dispatcher to route incoming messages to the correct endpoint.
Public propertyConfigurationNameGets or sets the value used to locate the service element in an application configuration file.
Protected propertyDesignModeGets the value that indicates whether this instance is in design or run-time mode. (Inherited from DependencyObject.)
Public propertyIgnoreExtensionDataObjectGets or sets a value that specifies whether to send unknown serialization data onto the wire.
Public propertyIncludeExceptionDetailInFaultsGets or sets a value that specifies that general unhandled execution exceptions are to be converted into a FaultException of type ExceptionDetail and sent as a fault message. Set this to true only during development to troubleshoot a service.
Public propertyMaxItemsInObjectGraphGets or sets the maximum number of items allowed in a serialized object.
Public propertyNameGets or sets the value of the name attribute in the service element in Web Services Description Language (WSDL).
Public propertyNamespaceGets or sets the value of the target namespace for the service in Web Services Description Language (WSDL).
Public propertySiteGets or sets a reference to the Site component of the DependencyObject. (Inherited from DependencyObject.)
Public propertyUserDataGets an IDictionary that associates custom data with this class instance. (Inherited from DependencyObject.)
Public propertyUseSynchronizationContextGets or sets a value that specifies whether to use the current synchronization context to choose the thread of execution.
Public propertyValidateMustUnderstandGets or sets a value that specifies whether the system or the application enforces SOAP MustUnderstand header processing.
Top

  NameDescription
Public methodAddHandlerAdds a handler for an event of a DependencyObject. (Inherited from DependencyObject.)
Public methodDispose()Releases all the resources used by the DependencyObject. (Inherited from DependencyObject.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetBindingProvides access to the ActivityBind associated with the specific DependencyProperty. (Inherited from DependencyObject.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetValueProvides access to the value of the designated DependencyProperty. (Inherited from DependencyObject.)
Public methodGetValueBaseProvides access to the bound object of a DependencyProperty and bypasses the GetValue override. (Inherited from DependencyObject.)
Public methodIsBindingSetIndicates whether the value of a DependencyProperty is set as a binding. See SetBinding. (Inherited from DependencyObject.)
Public methodMetaEqualsDetermines whether the metaproperties of this DependencyObject equals the metaproperties of the parameterized DependencyObject. (Inherited from DependencyObject.)
Public methodRemoveHandlerRemoves an EventHandler from an associated DependencyProperty. (Inherited from DependencyObject.)
Public methodRemovePropertyRemoves a DependencyProperty from the DependencyObject. (Inherited from DependencyObject.)
Public methodSetBindingSets the ActivityBind for the specified DependencyProperty. (Inherited from DependencyObject.)
Protected methodSetReadOnlyPropertyValueSets the value of a DependencyProperty, which is read-only. (Inherited from DependencyObject.)
Public methodSetValueSets the value of the DependencyProperty to the object. (Inherited from DependencyObject.)
Public methodSetValueBaseSets the value of the DependencyProperty to the specified Object, bypassing the SetValue. (Inherited from DependencyObject.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate eventIComponent.DisposedRepresents the method that handles the Disposed event of a component. (Inherited from DependencyObject.)
Top

NoteNote

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

The WorkflowServiceAttributes class is used to define service attributes for a ReceiveActivity activity.

Some of the attributes have default values, as shown below.

Attribute

Default Value

AddressFilterMode

Exact

IgnoreExtensionDataObject

False

IncludeExceptionDetailInFault

False

MaxItemsInObjectGraph

2147483647

UseSynchronizationContext

True

ValidateMustUnderstand

True

.NET Framework

Supported in: 4, 3.5
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft