ContextUtil.SystemTransaction 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得目前的交易上下文。
public:
static property System::Transactions::Transaction ^ SystemTransaction { System::Transactions::Transaction ^ get(); };
public static System.Transactions.Transaction SystemTransaction { get; }
static member SystemTransaction : System.Transactions.Transaction
Public Shared ReadOnly Property SystemTransaction As Transaction
屬性值
代表當前交易上下文的 A Transaction 。
例外狀況
目前沒有 COM+ 的上下文。
備註
若存取此屬性時不存在交易上下文,則會建立並回傳新的交易上下文。