HostCurrentTransactionCallback 代理人

定義

提供一個機制,讓裝載環境提供自己的 Current 預設概念。

public delegate System::Transactions::Transaction ^ HostCurrentTransactionCallback();
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

Transaction 物件。

備註

此委派提供裝載環境的機制,以提供自己的預設概念 Current 。 當 為 nullCurrent 會呼叫它,而且目前沒有 TransactionScope 指出環境交易可能已經隱藏的 。

擴充方法

GetMethodInfo(Delegate)

取得表示特定委派所代表之方法的物件。

適用於