Skip to content

RemoteExecutionResult

The final outcome of one command, distinct from an RPC failure.

public sealed record RemoteExecutionResult : IEquatable<RemoteExecutionResult>
  • IEquatable<RemoteExecutionResult>

RemoteExecutionResult(int, string, JsonElement?, string, string)

Section titled “RemoteExecutionResult(int, string, JsonElement?, string, string)”

The final outcome of one command, distinct from an RPC failure.

public RemoteExecutionResult(int ExitCode, string Kind, JsonElement? Result = null, string StandardOutput = "", string StandardError = "")
  • ExitCode (int): The application-selected exit code.
  • Kind (string): The portable outcome category.
  • Result (JsonElement?): The normalized command result, when available.
  • StandardOutput (string): Text written to the invocation’s output stream.
  • StandardError (string): Text written to the invocation’s error stream.

The application-selected exit code.

public int ExitCode { get; init; }

int

The portable outcome category.

public string Kind { get; init; }

string

The normalized command result, when available.

public JsonElement? Result { get; init; }

JsonElement?

Text written to the invocation’s error stream.

public string StandardError { get; init; }

string

Text written to the invocation’s output stream.

public string StandardOutput { get; init; }

string