An exception thrown when a post-exit validation rule fails.
public sealed class ProcessValidationException : Exception, ISerializable
The exception retains the Result so callers can inspect it. When Result owns disposable resources (for example redirected output streams), the exception handler must dispose it to release those resources.
kind:method, kind:property, kind:ctor. Press Esc to clear.ProcessValidationException(ProcessResult, String)Initializes a new instance of the ProcessValidationException class.ResultGets the process result that failed validation.