Skip to content

IDurableTaskManager.AbortAsync(string, string, CancellationToken)

AbortAsync(string, string, CancellationToken)

virtual
View source
public virtual ValueTask AbortAsync(string rootId, string reason, CancellationToken cancellationToken = default(CancellationToken))
Administratively aborts the root task rootId of this grain and its execution tree.

Parameters

rootIdstring
The root task's identifier, as passed to TaskId.
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.