Abort the transaction, waiting for participants to be notified of the decision.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
void Abort( long timeout )
Sub Abort ( _ timeout As Long _ )
void Abort( long long timeout )
void Abort( long timeout )
Parameters
- timeout (Int64)
- Time to wait, from the start of the call until all participants have been notified of the transaction manager's decision.
Exceptions
Exception | Condition |
---|---|
UnknownTransactionException |
The transaction is unknown to the manager.
This may be because the transaction ID was incorrect, or because the transaction
has proceeded to cleanup due to an earlier commit or abort, and has been forgotten.
|
CannotAbortException | The transaction has already been committed. |
TimeoutExpiredException |
The timeout expired before all participants have been notified.
|