CancelAsync(string?, CancellationToken)
abstract
public abstract ValueTask CancelAsync(string? reason, CancellationToken cancellationToken) Durably requests task cancellation carrying
reason. The request is monotonic and idempotent. The token abandons waiting for acknowledgement. Parameters
reasonstring?- The reason which the task's
DurableTaskContextreports, ornullfor none. cancellationTokenCancellationToken- A token which abandons waiting for the request to commit.
