Share via


ContextUtil.SystemTransaction プロパティ

定義

現在のトランザクション コンテキストを取得します。

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

プロパティ値

現在のトランザクション コンテキストを表す Transaction

例外

使用できる COM+ コンテキストはありません。

注釈

このプロパティにアクセスするときにトランザクション コンテキストが存在しない場合は、新しいトランザクション コンテキストが作成されて返されます。

適用対象