.NET API
SkillScriptExecutionResult
Tracon.Abstractions.dllWhat one skill script run did, as an ISkillScriptExecutor reports it.
public sealed record SkillScriptExecutionResult : IEquatable<SkillScriptExecutionResult>- Inheritance
- object ← SkillScriptExecutionResult
- Implements
- IEquatable<SkillScriptExecutionResult>
- Inherited Members
- object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”A consistent result has an exit code when SkillScriptExecutionResult.TimedOut is false and no exit code when it is true. Tracon refuses any other shape: the tool call fails and is recorded as an executor failure.
The duration is not part of the result: Tracon measures it around the call.
Constructors
Section titled “Constructors”SkillScriptExecutionResult()
Section titled “ SkillScriptExecutionResult()”public SkillScriptExecutionResult()Properties
Section titled “Properties”ExitCode
Section titled “ ExitCode”The script’s exit code, or null when it timed out.
public int? ExitCode { get; init; }Property Value
Section titled “Property Value”int?
StandardError
Section titled “ StandardError”The script’s standard error, at most the request’s byte limit.
public string StandardError { get; init; }Property Value
Section titled “Property Value”StandardOutput
Section titled “ StandardOutput”The script’s standard output, at most the request’s byte limit.
public string StandardOutput { get; init; }Property Value
Section titled “Property Value”Succeeded
Section titled “ Succeeded”Gets a value that indicates whether the script finished in time with exit code zero.
public bool Succeeded { get; }Property Value
Section titled “Property Value”TimedOut
Section titled “ TimedOut”Gets a value that indicates whether the script ran past its timeout and was stopped.
public bool TimedOut { get; init; }Property Value
Section titled “Property Value”Truncated
Section titled “ Truncated”Gets a value that indicates whether an output stream was cut at its limit.
public bool Truncated { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Do not append a notice to the text; Tracon adds it.
Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(SkillScriptExecutionResult?)
Section titled “ Equals(SkillScriptExecutionResult?)”public bool Equals(SkillScriptExecutionResult? other)Parameters
Section titled “Parameters”other SkillScriptExecutionResult?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(SkillScriptExecutionResult?, SkillScriptExecutionResult?)
Section titled “ operator ==(SkillScriptExecutionResult?, SkillScriptExecutionResult?)”public static bool operator ==(SkillScriptExecutionResult? left, SkillScriptExecutionResult? right)Parameters
Section titled “Parameters”left SkillScriptExecutionResult?
right SkillScriptExecutionResult?
Returns
Section titled “Returns”operator !=(SkillScriptExecutionResult?, SkillScriptExecutionResult?)
Section titled “ operator !=(SkillScriptExecutionResult?, SkillScriptExecutionResult?)”public static bool operator !=(SkillScriptExecutionResult? left, SkillScriptExecutionResult? right)Parameters
Section titled “Parameters”left SkillScriptExecutionResult?
right SkillScriptExecutionResult?