Redigera

Dela via


CompensableActivity.Body Property

Definition

Gets or sets the activity that is scheduled when the CompensableActivity executes.

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

Property Value

The activity that is scheduled when the CompensableActivity executes.

Attributes

Remarks

This property is read-only at runtime. If the value is set at runtime, an InvalidOperationException is thrown.

Applies to