Abort Method
Collapse the table of content
Expand the table of content

IDtcTransaction.Abort Method (IntPtr, Int32, Int32)


Aborts a transaction.

Namespace:   System.Transactions
Assembly:  System.Transactions (in System.Transactions.dll)

abstract Abort : 
        reason:nativeint *
        retaining:int *
        async:int -> unit


Type: System.IntPtr

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.

Type: System.Int32

This value must be false.

Type: System.Int32

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

You should not implement any method of this interface, as it is used only by the TransactionInterop class internally to represent the unmanaged version of the ITransaction interface of the System.EnterpriseServices namespace.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft