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.

C#
public void 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

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

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.

C#
public void InDoubt(Exception? e);
C#
public void InDoubt(Exception e);

Parameters

e
Exception

An explanation of why the transaction is in doubt.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1