Gets a value indicating whether a cancellation request during process execution will throw an exception.
public bool CancellationThrowsException { get; }
When true, any raised by the
cancellation machinery (whether the cancellation was user-requested or
timer-driven) propagates to the caller, overriding
ExceptionBehaviour for cancellation-driven exceptions. When
false (the default), cancellation-driven exceptions are governed by
ExceptionBehaviour and the process simply exits with a result whose
Canceled flag is set.