Skip to content

SkillScriptExecutionResult

Namespace AgentPrism · Assembly AgentPrism.Core.dll

The result of one skill script execution.

public sealed record SkillScriptExecutionResult : IEquatable<SkillScriptExecutionResult>

objectSkillScriptExecutionResult

IEquatable<SkillScriptExecutionResult>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public SkillScriptExecutionResult()

The execution duration.

public TimeSpan Duration { get; init; }

TimeSpan

The process exit code, or null on timeout.

public int? ExitCode { get; init; }

int?

Standard error. It is truncated when it exceeds its limit.

public string StandardError { get; init; }

string

Standard output. It is truncated when it exceeds its limit.

public string StandardOutput { get; init; }

string

Gets a value that indicates whether execution completed successfully.

public bool Succeeded { get; }

bool

Gets a value that indicates whether the timeout elapsed. The process tree is killed then.

public bool TimedOut { get; init; }

bool

Gets a value that indicates whether output reached its limit.

public bool Truncated { get; init; }

bool

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(SkillScriptExecutionResult? other)

other SkillScriptExecutionResult?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(SkillScriptExecutionResult?, SkillScriptExecutionResult?)

Section titled “ operator ==(SkillScriptExecutionResult?, SkillScriptExecutionResult?)”
public static bool operator ==(SkillScriptExecutionResult? left, SkillScriptExecutionResult? right)

left SkillScriptExecutionResult?

right SkillScriptExecutionResult?

bool

operator !=(SkillScriptExecutionResult?, SkillScriptExecutionResult?)

Section titled “ operator !=(SkillScriptExecutionResult?, SkillScriptExecutionResult?)”
public static bool operator !=(SkillScriptExecutionResult? left, SkillScriptExecutionResult? right)

left SkillScriptExecutionResult?

right SkillScriptExecutionResult?

bool