TransactionCompletedEventHandler 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.

Represents the method that handles the TransactionCompleted event of a Transaction class.

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

public delegate void TransactionCompletedEventHandler(
	Object^ sender,
	TransactionEventArgs^ e
)

Parameters

sender
Type: System::Object^

The source of the event.

e
Type: System.Transactions::TransactionEventArgs^

The TransactionEventArgs that contains the event data.

The following example shows how an application can obtain the outcome of a transaction by subscribing to the TransactionCompleted event.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: