HostCurrentTransactionCallback HostCurrentTransactionCallback HostCurrentTransactionCallback HostCurrentTransactionCallback Delegate

Definizione

Fornisce un meccanismo affinché l'ambiente di hosting specifichi una propria nozione predefinita di Current.Provides a mechanism for the hosting environment to supply its own default notion of 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 

Valore restituito

System.Transactions.Transaction

Oggetto Transaction.A Transaction object.

Ereditarietà
HostCurrentTransactionCallbackHostCurrentTransactionCallbackHostCurrentTransactionCallbackHostCurrentTransactionCallback

Commenti

Questo delegato fornisce un meccanismo per un ambiente host per fornire la propria nozione predefinita Currentdi.This delegate provides a mechanism for a hosting environment to supply its own default notion of Current. Viene chiamato quando Current è nulle non esiste alcun oggetto corrente TransactionScope che indica che la transazione di ambiente potrebbe essere stata eliminata.It is called when Current is null, and there is no current TransactionScope that indicates that the ambient transaction may have been suppressed.

Metodi di estensione

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

Ottiene un oggetto che rappresenta il metodo rappresentato dal delegato specificato.Gets an object that represents the method represented by the specified delegate.

Si applica a