HostCurrentTransactionCallback Delegat

Definicja

Zapewnia mechanizm dla środowiska hostingu w celu dostarczenia własnego domyślnego Currentpojęcia .

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 

Wartość zwracana

Transaction

Obiekt Transaction.

Uwagi

Ten delegat zapewnia mechanizm dla środowiska hostingu w celu dostarczenia własnego domyślnego Currentpojęcia . Jest wywoływany, gdy Current jest null, i nie ma prądu TransactionScope , który wskazuje, że transakcja otoczenia mogła zostać pominięta.

Metody rozszerzania

GetMethodInfo(Delegate)

Pobiera obiekt reprezentujący metodę reprezentowaną przez określonego delegata.

Dotyczy