Skip to content

TransactionalStatusExtensions.DefinitelyAborted(TransactionalStatus)

DefinitelyAborted(TransactionalStatus)

staticextension
View source
public static bool DefinitelyAborted(this TransactionalStatus status)
Determines whether a status guarantees that the transaction aborted.

Parameters

statusTransactionalStatus
The transaction status.

Returns

true if the transaction is known to have aborted; otherwise, false.