JobItemResult
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllThe result of a processed job item. Reported with IJobStore.ReportItemAsync.
public sealed record JobItemResult : IEquatable<JobItemResult>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”JobItemResult()
Section titled “ JobItemResult()”public JobItemResult()Properties
Section titled “Properties”The failure message. Populated only for JobItemStatus.Failed.
public string? Error { get; init; }Property Value
Section titled “Property Value”The identifier of the job it belongs to.
public required Guid JobId { get; init; }Property Value
Section titled “Property Value”The identifier of the run record created. null if not applicable.
public Guid? RunId { get; init; }Property Value
Section titled “Property Value”Guid?
The item’s sequence number.
public required int Seq { get; init; }Property Value
Section titled “Property Value”Status
Section titled “ Status”The processing result.
public required JobItemStatus Status { get; init; }Property Value
Section titled “Property Value”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(JobItemResult?)
Section titled “ Equals(JobItemResult?)”public bool Equals(JobItemResult? other)Parameters
Section titled “Parameters”other JobItemResult?
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 ==(JobItemResult?, JobItemResult?)
Section titled “ operator ==(JobItemResult?, JobItemResult?)”public static bool operator ==(JobItemResult? left, JobItemResult? right)Parameters
Section titled “Parameters”left JobItemResult?
right JobItemResult?
Returns
Section titled “Returns”operator !=(JobItemResult?, JobItemResult?)
Section titled “ operator !=(JobItemResult?, JobItemResult?)”public static bool operator !=(JobItemResult? left, JobItemResult? right)Parameters
Section titled “Parameters”left JobItemResult?
right JobItemResult?