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)

Sub Abort (
	reason As IntPtr,
	retaining As Integer,
	async As Integer
)

Parameters

reason
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.

retaining
Type: System.Int32

This value must be false.

async
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
Show:
© 2016 Microsoft