IPromotableSinglePhaseNotification.Rollback Method

Note: This method is new in the .NET Framework version 2.0.

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

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

void Rollback (
	SinglePhaseEnlistment singlePhaseEnlistment
)
void Rollback (
	SinglePhaseEnlistment singlePhaseEnlistment
)
function Rollback (
	singlePhaseEnlistment : SinglePhaseEnlistment
)

Parameters

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show: