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
SequencelongThe one-based workflow-wide attempt sequence.
CallIdlongThe one-based logical call ID, shared by its attempts.
InstanceIdstringThe calling orchestrator's instance ID.
TaskNamestringThe registered task name.
KindDurableTaskAttemptKindThe task category.
AttemptNumberintThe one-based attempt number within the call.
ChildInstanceIdstringThe actual child ID, or null for an activity.
StartedAtDateTimeThe calling context's UTC time at invocation.
CompletedAtDateTime?The calling context's UTC time at completion, or null while running.
StatusDurableTaskAttemptStatusThe recorded outcome.
RetryAtDateTime?The planned next attempt's UTC time, or null when no retry has been accepted.
FailureExceptionThe 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
CallId
The one-based logical call ID, shared by its attempts.
public long CallId { get; init; }
Property Value
ChildInstanceId
The actual child ID, or null for an activity.
public string? ChildInstanceId { get; init; }
Property Value
CompletedAt
The calling context's UTC time at completion, or null while running.
public DateTime? CompletedAt { get; init; }
Property Value
Failure
The original failure, retained for explicit inspection; excluded from diagnostics.
public Exception? Failure { get; init; }
Property Value
InstanceId
The calling orchestrator's instance ID.
public string InstanceId { get; init; }
Property Value
Kind
The task category.
public DurableTaskAttemptKind Kind { get; init; }
Property Value
RetryAt
The planned next attempt's UTC time, or null when no retry has been accepted.
public DateTime? RetryAt { get; init; }
Property Value
Sequence
The one-based workflow-wide attempt sequence.
public long Sequence { get; init; }
Property Value
StartedAt
The calling context's UTC time at invocation.
public DateTime StartedAt { get; init; }
Property Value
Status
The recorded outcome.
public DurableTaskAttemptStatus Status { get; init; }
Property Value
TaskName
The registered task name.
public string TaskName { get; init; }