Skip to content

InboundTriggerDispatchResult

Namespace AgentPrism · Assembly AgentPrism.Core.dll

The result of InboundTriggerDispatcher.EnqueueAsync.

public sealed record InboundTriggerDispatchResult : IEquatable<InboundTriggerDispatchResult>

objectInboundTriggerDispatchResult

IEquatable<InboundTriggerDispatchResult>

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

public InboundTriggerDispatchResult()

The identifier of the queued job.

public required Guid JobId { get; init; }

Guid

The identifier of the runs row, when the target is an agent — known synchronously because the row is written before the job runs (the same pattern as the queued agent runs). null for a workflow target: a workflow job is not tied to a single run id until an engine actually picks it up.

public Guid? RunId { get; init; }

Guid?

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(InboundTriggerDispatchResult? other)

other InboundTriggerDispatchResult?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(InboundTriggerDispatchResult?, InboundTriggerDispatchResult?)

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

left InboundTriggerDispatchResult?

right InboundTriggerDispatchResult?

bool

operator !=(InboundTriggerDispatchResult?, InboundTriggerDispatchResult?)

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

left InboundTriggerDispatchResult?

right InboundTriggerDispatchResult?

bool