DurableTaskAttemptCanceledException(string?, Exception?, DurableTaskAttemptCancellationReason, CancellationToken)
public DurableTaskAttemptCanceledException(string? message, Exception? innerException, DurableTaskAttemptCancellationReason reason, CancellationToken token)Initializes an exception for an attempt canceled for
reason.Parameters
messagestring?- The message which describes the cancellation.
innerExceptionException?- The exception which the canceled operation threw.
reasonDurableTaskAttemptCancellationReason- Why the host canceled the attempt.
tokenCancellationToken- The attempt's cancellation token.
