Redigera

Dela via


CompensableActivity.ConfirmationHandler Property

Definition

Gets or sets the activity that is scheduled when confirmation is performed for this CompensableActivity.

public:
 property System::Activities::Activity ^ ConfirmationHandler { System::Activities::Activity ^ get(); void set(System::Activities::Activity ^ value); };
[System.Windows.Markup.DependsOn("CompensationHandler")]
public System.Activities.Activity ConfirmationHandler { get; set; }
[<System.Windows.Markup.DependsOn("CompensationHandler")>]
member this.ConfirmationHandler : System.Activities.Activity with get, set
Public Property ConfirmationHandler As Activity

Property Value

The activity that is scheduled when confirmation is performed for this CompensableActivity.

Attributes

Remarks

ConfirmationHandler can be used to specify custom confirmation 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