Language

ProcessExitStatus(Int32, Boolean, Nullable<PosixSignal>) Constructor

Definition

Initializes a new instance of the ProcessExitStatus class.

public ProcessExitStatus(int exitCode, bool canceled, System.Runtime.InteropServices.PosixSignal? signal = default);
new System.Diagnostics.ProcessExitStatus : int * bool * Nullable<System.Runtime.InteropServices.PosixSignal> -> System.Diagnostics.ProcessExitStatus
Public Sub New (exitCode As Integer, canceled As Boolean, Optional signal As Nullable(Of PosixSignal) = Nothing)

Parameters

exitCode
Int32

The exit code of the process.

canceled
Boolean

A value indicating whether the process has been terminated due to timeout or cancellation.

signal
Nullable<PosixSignal>

On Unix, the POSIX signal that terminated the process, or null if the process exited normally.

Applies to