Table of Contents

Class SandboxResult

Namespace
JD.AI.Core.Tools.Sandbox
Assembly
JD.AI.Core.dll

Result of a sandboxed command execution.

public sealed record SandboxResult : IEquatable<SandboxResult>
Inheritance
SandboxResult
Implements
Inherited Members

Constructors

SandboxResult(int, string, string, bool)

Result of a sandboxed command execution.

public SandboxResult(int ExitCode, string Output, string Error, bool TimedOut)

Parameters

ExitCode int
Output string
Error string
TimedOut bool

Properties

Error

public string Error { get; init; }

Property Value

string

ExitCode

public int ExitCode { get; init; }

Property Value

int

Output

public string Output { get; init; }

Property Value

string

TimedOut

public bool TimedOut { get; init; }

Property Value

bool