Specifies the behaviour for handling exceptions.
[DefaultValue(ProcessExceptionBehaviour.AllowExceptionsIfUnexpected)]
public enum ProcessExceptionBehaviour
kind:method, kind:property, kind:ctor. Press Esc to clear.AllowExceptionsRethrows the exception raised by the cancellation machinery whatever the cancellation reason: a requested cancellation, a timeout, or an unknown reason.AllowExceptionsIfUnexpectedRethrows the exception raised by the cancellation machinery only when the cancellation outcome was unexpected: a timeout or unknown reason whose cancellation resolved more than one second before or after the exit time predicted by the configured timeout. A requested cancellation, or a timeout that resolves within that window, is swallowed; the process exits with a result whose Canceled flag is set instead.SuppressExceptionsSuppresses thrown exceptions.