Transaction.PromoteAndEnlistDurable Method (Guid, IPromotableSinglePhaseNotification, ISinglePhaseNotification, EnlistmentOptions)
[Supported in the .NET Framework 4.5.2 and later versions]
Promotes and enlists a durable resource manager that supports two phase commit to participate in a transaction.
Assembly: System.Transactions (in System.Transactions.dll)
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")] public Enlistment PromoteAndEnlistDurable( Guid resourceManagerIdentifier, IPromotableSinglePhaseNotification promotableNotification, ISinglePhaseNotification enlistmentNotification, EnlistmentOptions enlistmentOptions )
A unique identifier for a resource manager, which should persist across resource manager failure or reboot.
An object that acts as a commit delegate for a non-distributed transaction internal to a resource manager.
An object that implements the IEnlistmentNotification interface to receive two phase commit notifications.
Return ValueType: System.Transactions.Enlistment
Available since 4.5.2