Export (0) Print
Expand All

IPromotableSinglePhaseNotification.Rollback Method

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
)
Not applicable.

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft