CancelAsync(string, CancellationToken)
virtual
public virtual ValueTask CancelAsync(string rootId, CancellationToken cancellationToken = default(CancellationToken))Durably requests cancellation of the root task
rootId of this grain and its execution tree.Parameters
rootIdstring- The root task's identifier, as passed to
TaskId. cancellationTokenCancellationToken- A token which abandons waiting for the request to commit.
Returns
An operation which completes once the cancellation request has committed and propagated.
