CompensableActivity.Body CompensableActivity.Body CompensableActivity.Body 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; }
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.

Remarks

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

Applies to