CompensableActivity.CancellationHandler Property
Definition
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.
Gets or sets the activity that is scheduled when the activity is canceled.
public:
property System::Activities::Activity ^ CancellationHandler { System::Activities::Activity ^ get(); void set(System::Activities::Activity ^ value); };
[System.Windows.Markup.DependsOn("Body")]
public System.Activities.Activity CancellationHandler { get; set; }
[<System.Windows.Markup.DependsOn("Body")>]
member this.CancellationHandler : System.Activities.Activity with get, set
Public Property CancellationHandler As Activity
Property Value
The activity that is scheduled when the activity is canceled.
- Attributes
Remarks
CancellationHandler can be used to specify custom cancellation logic for the Body of the CompensableActivity.
This property is read-only at runtime. If the value is set at runtime, an InvalidOperationException is thrown.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.