Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
static System::Object ^ GetWorkflowServiceAttributes(System::Object ^ dependencyObject);
public static object GetWorkflowServiceAttributes(object dependencyObject);
static member GetWorkflowServiceAttributes : obj -> obj
Public Shared Function GetWorkflowServiceAttributes (dependencyObject As Object) As Object
The object to retrieve the service attributes from.
A Object that represents a WorkflowServiceAttributes object that contains service attribute data.
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.
Note
If the current workflow starts another workflow using an InvokeWorkflowActivity activity, the invoked workflow does not inherit the invoking workflow's service attributes.
Note
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.
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in