AbortAsync(TaskId, string, CancellationToken)
abstract
public abstract ValueTask AbortAsync(TaskId taskId, string reason, CancellationToken cancellationToken = default(CancellationToken)) Administratively aborts a task of this grain: commits the task and its execution tree as failed with
DurableTaskAbortedException in one write, and stops their running attempts without running further task code. Parameters
taskIdTaskId- The task identifier.
reasonstring- The reason for the abort, recorded as the exception message.
cancellationTokenCancellationToken- A token which abandons waiting for the abort to commit.
Returns
An operation which completes once the abort has committed.
