Initialises a new instance of the ProcessExitConfiguration class with the specified timeout policy and result validation.
public ProcessExitConfiguration(ProcessTimeoutPolicy timeoutPolicy, ProcessExitBehaviour requestedCancellationExitBehaviour = ProcessExitBehaviour.GracefulExit, ProcessExceptionBehaviour exceptionBehaviour = ProcessExceptionBehaviour.AllowExceptionsIfUnexpected, bool cancellationThrowsException = false)
The timeout policy to apply to the process.
The exit behaviour to apply when the process is cancelled.
Determines how exceptions raised during process execution are handled.
When true, a cancellation request during process execution throws the
underlying instead of returning a result
with Canceled set to true.