Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)

'Declaration
Public Class SinglePhaseEnlistment
	Inherits Enlistment
'Usage
Dim instance As SinglePhaseEnlistment

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.

System.Object
   System.Transactions.Enlistment
    System.Transactions.SinglePhaseEnlistment

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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.