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