HostCurrentTransactionCallback Delegado

Definición

Proporciona un mecanismo para el entorno de host para proporcionar su propia noción predeterminada de 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();
public delegate System.Transactions.Transaction HostCurrentTransactionCallback();
type HostCurrentTransactionCallback = delegate of unit -> Transaction
Public Delegate Function HostCurrentTransactionCallback() As Transaction 

Valor devuelto

Transaction

Un objeto Transaction.A Transaction object.

Comentarios

Este delegado proporciona un mecanismo para que un entorno de hospedaje suministre su propia noción predeterminada de Current .This delegate provides a mechanism for a hosting environment to supply its own default notion of Current. Se llama cuando Current es y no hay null ningún actual TransactionScope que indique que se puede haber suprimido la transacción ambiente.It is called when Current is null, and there is no current TransactionScope that indicates that the ambient transaction may have been suppressed.

Métodos de extensión

GetMethodInfo(Delegate)

Obtiene un objeto que representa el método representado por el delegado especificado.Gets an object that represents the method represented by the specified delegate.

Se aplica a