System.Transactions.Transaction
namespace System.Transactions
{
public class Transaction : IDisposable, ISerializable
{
public static Transaction Current { get; set; }
public IsolationLevel IsolationLevel { get; }
public Guid PromoterType { get; }
public TransactionInformation TransactionInformation { get; }
public event TransactionCompletedEventHandler TransactionCompleted;
public Transaction Clone();
public DependentTransaction DependentClone(DependentCloneOption cloneOption);
public void Dispose();
public Enlistment EnlistDurable(Guid resourceManagerIdentifier, IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions);
public Enlistment EnlistDurable(Guid resourceManagerIdentifier, ISinglePhaseNotification singlePhaseNotification, EnlistmentOptions enlistmentOptions);
public bool EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification);
public bool EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Guid promoterType);
public Enlistment EnlistVolatile(IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions);
public Enlistment EnlistVolatile(ISinglePhaseNotification singlePhaseNotification, EnlistmentOptions enlistmentOptions);
public byte[] GetPromotedToken();
public static bool operator ==(Transaction x, Transaction y);
public static bool operator !=(Transaction x, Transaction y);
public Enlistment PromoteAndEnlistDurable(Guid resourceManagerIdentifier, IPromotableSinglePhaseNotification promotableNotification, ISinglePhaseNotification enlistmentNotification, EnlistmentOptions enlistmentOptions);
public void Rollback();
public void Rollback(Exception e);
public void SetDistributedTransactionIdentifier(IPromotableSinglePhaseNotification promotableNotification, Guid distributedTransactionIdentifier);
}
}