Returns the WorkflowServiceAttributes attributes for the service implemented by the ReceiveActivity activity. These attributes include items like the AddressFilterMode, the ConfigurationName, the IncludeExceptionDetailInFaults, and whether to include exception details in any faults that are returned from the ReceiveActivity activity.
Assembly: System.WorkflowServices (in System.WorkflowServices.dll)
- Type: System.Object
The object to retrieve the service attributes from.
The WorkflowServiceAttributesProperty property is an attached dependency property defined by the ReceiveActivity activity. This dependency property is attached to the root workflow that contains the ReceiveActivity activity using the SetWorkflowServiceAttributes method call at design time.
The WorkflowServiceAttributesProperty property is used for defining service-level behavior attributes that are applied to the workflow service when it starts. These cannot be modified at runtime.
If the current workflow starts another workflow using an InvokeWorkflowActivity activity, the invoked workflow does not inherit the invoking workflow's service attributes.
If service attributes are set for a custom activity and that activity is included in a workflow, those service attributes are used. Service attributes are only used for custom activities if the custom activity itself is run as a workflow.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.