ProcessResult Class

Represents a completed process execution.

public class ProcessResult

Properties

NameDescription
ExitCodeGets the process exit code.
ExitDateGets the time the process exited.
ProcessIdGets the process ID.
StartDateGets the time the process was started.

Gets the process exit code.

public ProcessExitCode ExitCode { get; }

Property value

ProcessExitCode

Gets the time the process exited.

public DateTimeOffset ExitDate { get; }

Property value

DateTimeOffset

Gets the process ID.

public int ProcessId { get; }

Property value

int

Gets the time the process was started.

public DateTimeOffset StartDate { get; }

Property value

DateTimeOffset

Methods

NameDescription
ToString()Returns the command line and exit code of the process execution result.

Returns the command line and exit code of the process execution result.

public override string ToString()

Returns

string