SinglePhaseEnlistment.InDoubt 方法
定义
表示一个回调,该回调用于向事务管理器指示事务的状态不确定。Represents a callback that is used to indicate to the transaction manager that the status of the transaction is in doubt.
重载
| 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()
表示一个回调,该回调用于向事务管理器指示事务的状态不确定。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 ()
注解
实现接口的事务参与者 ISinglePhaseNotification 使用此方法通知事务管理器事务是不确定的。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.
适用于
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.
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)
参数
关于事务为何不确定的说明。An explanation of why the transaction is in doubt.