HostCurrentTransactionCallback Delegate

 

Provides a mechanism for the hosting environment to supply its own default notion of Current.

Namespace:   System.Transactions
Assembly:  System.Transactions (in System.Transactions.dll)

public delegate Transaction^ HostCurrentTransactionCallback()

Return Value

Type: System.Transactions::Transaction^

A Transaction object.

This delegate provides a mechanism for a hosting environment to supply its own default notion of Current. It is called when Current is null, and there is no current TransactionScope that indicates that the ambient transaction may have been suppressed.

.NET Framework
Available since 2.0
Return to top
Show: