IPromotableSinglePhaseNotification.Rollback Method (SinglePhaseEnlistment)

 
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.

Notifies an enlisted object that the transaction is being rolled back.

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

Sub Rollback (
	singlePhaseEnlistment As SinglePhaseEnlistment
)

Parameters

singlePhaseEnlistment
Type: System.Transactions.SinglePhaseEnlistment

A SinglePhaseEnlistment object used to send a response to the transaction manager.

On receiving this notification, the PSPE should always rollback it's internal transaction and then reply with the Aborted callback method on the singlePhaseEnlistment parameter. If the PSPE replies with Committed or InDoubt, an InvalidOperationException is thrown from the callback.

.NET Framework
Available since 2.0
Return to top
Show: