Bagikan melalui


TransactionScope.Body Properti

Definisi

Mendapatkan atau mengatur aktivitas yang dijadwalkan saat TransactionScope dijalankan.

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

Nilai Properti

Aktivitas yang dijadwalkan saat dijalankan TransactionScope .

Keterangan

Properti ini baca-saja saat runtime. Jika nilai diatur saat runtime, InvalidOperationException nilai akan dilemparkan.

Berlaku untuk