ITransaction.Abort(BOID, Int32, Int32) Method

Definition

Aborts the transaction.

public:
 void Abort(System::EnterpriseServices::BOID % pboidReason, int fRetaining, int fAsync);
public void Abort (ref System.EnterpriseServices.BOID pboidReason, int fRetaining, int fAsync);
abstract member Abort : BOID * int * int -> unit
Public Sub Abort (ByRef pboidReason As BOID, fRetaining As Integer, fAsync As Integer)

Parameters

pboidReason
BOID

An optional BOID that indicates why the transaction is being aborted. This parameter can be null, indicating that no reason for the abort is provided.

fRetaining
Int32

Must be false.

fAsync
Int32

When fAsync is true, an asynchronous abort is performed and the caller must use ITransactionOutcomeEvents to learn the outcome of the transaction.

Applies to