Bewerken

Share via


SinglePhaseEnlistment.Aborted Method

Definition

Represents a callback that is used to indicate to the transaction manager that the transaction should be rolled back.

Overloads

Aborted()

Represents a callback that is used to indicate to the transaction manager that the transaction should be rolled back.

Aborted(Exception)

Represents a callback that is used to indicate to the transaction manager that the transaction should be rolled back, and provides an explanation.

Remarks

A transaction participant uses this method to notify the transaction manager that the transaction should be rolled back.

Aborted()

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

Represents a callback that is used to indicate to the transaction manager that the transaction should be rolled back.

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

Remarks

A transaction participant implementing the ISinglePhaseNotification interface uses this method to notify the transaction manager that it cannot commit, and that the transaction should be rolled back.

Applies to

Aborted(Exception)

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

Represents a callback that is used to indicate to the transaction manager that the transaction should be rolled back, and provides an explanation.

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

Parameters

e
Exception

An explanation of why a rollback is initiated.

Applies to