Taal

Transaction.PromoteAndEnlistDurable Methode

Definitie

Bevordert en neemt een duurzame resourcemanager op die ondersteuning biedt voor twee fasen om deel te nemen aan een transactie.

public:
 System::Transactions::Enlistment ^ PromoteAndEnlistDurable(Guid resourceManagerIdentifier, System::Transactions::IPromotableSinglePhaseNotification ^ promotableNotification, System::Transactions::ISinglePhaseNotification ^ enlistmentNotification, System::Transactions::EnlistmentOptions enlistmentOptions);
public System.Transactions.Enlistment PromoteAndEnlistDurable(Guid resourceManagerIdentifier, System.Transactions.IPromotableSinglePhaseNotification promotableNotification, System.Transactions.ISinglePhaseNotification enlistmentNotification, System.Transactions.EnlistmentOptions enlistmentOptions);
member this.PromoteAndEnlistDurable : Guid * System.Transactions.IPromotableSinglePhaseNotification * System.Transactions.ISinglePhaseNotification * System.Transactions.EnlistmentOptions -> System.Transactions.Enlistment
Public Function PromoteAndEnlistDurable (resourceManagerIdentifier As Guid, promotableNotification As IPromotableSinglePhaseNotification, enlistmentNotification As ISinglePhaseNotification, enlistmentOptions As EnlistmentOptions) As Enlistment

Parameters

resourceManagerIdentifier
Guid

Een unieke id voor een Resource Manager, die zich moet blijven voordoen bij een resource manager-fout of het opnieuw opstarten.

promotableNotification
IPromotableSinglePhaseNotification

Een object dat fungeert als een doorvoerdelegering voor een niet-gedistribueerde transactie intern voor een resourcemanager.

enlistmentNotification
ISinglePhaseNotification

Een object waarmee de IEnlistmentNotification interface wordt geïmplementeerd voor het ontvangen van twee fasedoorvoermeldingen.

enlistmentOptions
EnlistmentOptions

EnlistDuringPrepareRequired als de Resource Manager extra werk wil uitvoeren tijdens de voorbereidingsfase.

Retouren

Van toepassing op