Edit

Share via


ITransactionalResource.Cancel(Guid, DateTime, TransactionalStatus) Method

Definition

One-way message sent by TM to participants to let them know a transaction has aborted.

public System.Threading.Tasks.Task Cancel (Guid transactionId, DateTime timeStamp, Orleans.Transactions.TransactionalStatus status);
abstract member Cancel : Guid * DateTime * Orleans.Transactions.TransactionalStatus -> System.Threading.Tasks.Task
Public Function Cancel (transactionId As Guid, timeStamp As DateTime, status As TransactionalStatus) As Task

Parameters

transactionId
Guid

The id of the aborted transaction

timeStamp
DateTime

The commit timestamp of the aborted transaction

status
TransactionalStatus

Reason for abort

Returns

Applies to