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