ITransaction.Abort(BOID, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.