SinglePhaseEnlistment Class

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

Provides a set of callbacks that facilitate communication between a participant enlisted for Single Phase Commit and the transaction manager when the SinglePhaseCommit notification is received.

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

public class SinglePhaseEnlistment : Enlistment
public class SinglePhaseEnlistment extends Enlistment
public class SinglePhaseEnlistment extends Enlistment

When a resource manager's implementation of SinglePhaseCommit is called, and an instance of this type is passsed in, the participant then notifies the transaction manager via the Committed method or the Aborted method to indicate whether the transaction should be committed or rolled back.


This type is safe for multithreaded operations.

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

Community Additions