An activity that supports compensation of its child activities.
Assembly: System.Activities (in System.Activities.dll)
Gets or sets the activity that is scheduled when theexecutes.
Gets the identifier of the cache that is unique within the scope of the workflow definition.(Inherited from Activity.)
Gets or sets the activity that is scheduled when the activity is canceled.
Gets or sets the activity that is scheduled when compensation is performed on the.
Gets or sets the activity that is scheduled when confirmation is performed for this.
Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.(Inherited from Activity.)
Gets an identifier that is unique in the scope of the workflow definition.(Inherited from Activity.)
Gets or sets the implementation version of the activity.(Inherited from NativeActivity<TResult>.)
Gets the collection of T:System.WorkflowModel.Variable objects for this .
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Body activity that defines a long-running task that performs their core business logic. It also allows the developer to optionally specify a compensation and confirmation activity to schedule appropriate business logic in the event of errors or successful completion of the Body. Compensation and confirmation of a is invoked by using the CompensationToken returned by the . CompensationToken is an opaque, typed object returned as the P:System.Activities.WorkflowElement`1.Result argument after successful completion of a activity’s Body. This CompensationToken is used by the Confirm and Compensate activities to explicitly invoke confirmation and compensation of a . can be composed in a nested hierarchical fashion in the workflow. For more information, seeCompensation Programming Model.allows a developer to specify a
Available since 4.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.