HostCurrentTransactionCallback 代理人
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ホスティング環境が独自の既定の Current概念を提供するためのメカニズムを提供します。
public delegate System::Transactions::Transaction ^ HostCurrentTransactionCallback();
public delegate System.Transactions.Transaction HostCurrentTransactionCallback();
type HostCurrentTransactionCallback = delegate of unit -> Transaction
Public Delegate Function HostCurrentTransactionCallback() As Transaction
戻り値
Transaction オブジェクト。
注釈
このデリゲートは、ホスティング環境が独自の既定の Current概念を提供するためのメカニズムを提供します。
Currentがnullされ、アンビエント トランザクションが抑制された可能性があることを示す現在のTransactionScopeがない場合に呼び出されます。
拡張メソッド
| 名前 | 説明 |
|---|---|
| GetMethodInfo(Delegate) |
指定したデリゲートによって表されるメソッドを表すオブジェクトを取得します。 |