Class RecordedDurableTaskAttempt

Namespace
XBullet.EasyTesting.AzureFunctions
Assembly
XBullet.EasyTesting.AzureFunctions.dll

Describes an immutable snapshot of one connected task attempt.

public sealed record RecordedDurableTaskAttempt : IEquatable<RecordedDurableTaskAttempt>
Inheritance
RecordedDurableTaskAttempt
Implements
Inherited Members
Extension Methods

Constructors

RecordedDurableTaskAttempt(long, long, string, string, DurableTaskAttemptKind, int, string?, DateTime, DateTime?, DurableTaskAttemptStatus, DateTime?, Exception?)

Describes an immutable snapshot of one connected task attempt.

public RecordedDurableTaskAttempt(long Sequence, long CallId, string InstanceId, string TaskName, DurableTaskAttemptKind Kind, int AttemptNumber, string? ChildInstanceId, DateTime StartedAt, DateTime? CompletedAt, DurableTaskAttemptStatus Status, DateTime? RetryAt, Exception? Failure)

Parameters

Sequence long

The one-based workflow-wide attempt sequence.

CallId long

The one-based logical call ID, shared by its attempts.

InstanceId string

The calling orchestrator's instance ID.

TaskName string

The registered task name.

Kind DurableTaskAttemptKind

The task category.

AttemptNumber int

The one-based attempt number within the call.

ChildInstanceId string

The actual child ID, or null for an activity.

StartedAt DateTime

The calling context's UTC time at invocation.

CompletedAt DateTime?

The calling context's UTC time at completion, or null while running.

Status DurableTaskAttemptStatus

The recorded outcome.

RetryAt DateTime?

The planned next attempt's UTC time, or null when no retry has been accepted.

Failure Exception

The original failure, retained for explicit inspection; excluded from diagnostics.

Properties

AttemptNumber

The one-based attempt number within the call.

public int AttemptNumber { get; init; }

Property Value

int

CallId

The one-based logical call ID, shared by its attempts.

public long CallId { get; init; }

Property Value

long

ChildInstanceId

The actual child ID, or null for an activity.

public string? ChildInstanceId { get; init; }

Property Value

string

CompletedAt

The calling context's UTC time at completion, or null while running.

public DateTime? CompletedAt { get; init; }

Property Value

DateTime?

Failure

The original failure, retained for explicit inspection; excluded from diagnostics.

public Exception? Failure { get; init; }

Property Value

Exception

InstanceId

The calling orchestrator's instance ID.

public string InstanceId { get; init; }

Property Value

string

Kind

The task category.

public DurableTaskAttemptKind Kind { get; init; }

Property Value

DurableTaskAttemptKind

RetryAt

The planned next attempt's UTC time, or null when no retry has been accepted.

public DateTime? RetryAt { get; init; }

Property Value

DateTime?

Sequence

The one-based workflow-wide attempt sequence.

public long Sequence { get; init; }

Property Value

long

StartedAt

The calling context's UTC time at invocation.

public DateTime StartedAt { get; init; }

Property Value

DateTime

Status

The recorded outcome.

public DurableTaskAttemptStatus Status { get; init; }

Property Value

DurableTaskAttemptStatus

TaskName

The registered task name.

public string TaskName { get; init; }

Property Value

string