Uređivanje

Dijeli putem


TransactionScope.Body Property

Definition

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

public:
 property System::Activities::Activity ^ Body { System::Activities::Activity ^ get(); void set(System::Activities::Activity ^ value); };
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 TransactionScope executes.

Remarks

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

Applies to