Editar

Partilhar via


SinglePhaseEnlistment.InDoubt Method

Definition

Represents a callback that is used to indicate to the transaction manager that the status of the transaction is in doubt.

Overloads

InDoubt()

Represents a callback that is used to indicate to the transaction manager that the status of the transaction is in doubt.

InDoubt(Exception)

Represents a callback that is used to indicate to the transaction manager that the status of the transaction is in doubt, and provides an explanation.

InDoubt()

Source:
SinglePhaseEnlistment.cs
Source:
SinglePhaseEnlistment.cs
Source:
SinglePhaseEnlistment.cs

Represents a callback that is used to indicate to the transaction manager that the status of the transaction is in doubt.

public:
 void InDoubt();
public void InDoubt ();
member this.InDoubt : unit -> unit
Public Sub InDoubt ()

Remarks

A transaction participant implementing the ISinglePhaseNotification interface uses this method to notify the transaction manager that the transaction is in doubt. A transaction is in doubt when one or more of the enlisted resource managers cannot be contacted.

Applies to

InDoubt(Exception)

Source:
SinglePhaseEnlistment.cs
Source:
SinglePhaseEnlistment.cs
Source:
SinglePhaseEnlistment.cs

Represents a callback that is used to indicate to the transaction manager that the status of the transaction is in doubt, and provides an explanation.

public:
 void InDoubt(Exception ^ e);
public void InDoubt (Exception? e);
public void InDoubt (Exception e);
member this.InDoubt : Exception -> unit
Public Sub InDoubt (e As Exception)

Parameters

e
Exception

An explanation of why the transaction is in doubt.

Applies to