AbortAsync(string, CancellationToken)
virtual
public virtual ValueTask AbortAsync(string reason, CancellationToken cancellationToken) Administratively aborts the task: the host terminalizes it and its attached descendants as failed with
DurableTaskAbortedException, without running further task code. The token abandons waiting for acknowledgement. Parameters
reasonstring- The reason for the abort, recorded as the exception message.
cancellationTokenCancellationToken- A token which abandons waiting for the abort to commit.
