HostCurrentTransactionCallback Delegate

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Function HostCurrentTransactionCallback As Transaction

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: