Skip to content

Class DurableExecutionPendingTimer

Namespace: Cephalon.Abstractions.Execution
Assembly: Cephalon.Abstractions.dll

Describes one durable-execution timer that is currently pending for a workflow stream.

public sealed class DurableExecutionPendingTimer

objectDurableExecutionPendingTimer

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

DurableExecutionPendingTimer(string, DateTimeOffset, string?, string?, IReadOnlyDictionary<string, string>?)

Section titled “ DurableExecutionPendingTimer(string, DateTimeOffset, string?, string?, IReadOnlyDictionary<string, string>?)”

Initializes a new instance of the class.

public DurableExecutionPendingTimer(string id, DateTimeOffset dueAtUtc, string? displayName = null, string? description = null, IReadOnlyDictionary<string, string>? metadata = null)

id string

The stable timer identifier within the durable workflow.

dueAtUtc DateTimeOffset

The UTC timestamp when the timer is next due.

displayName string?

The operator-facing timer name.

description string?

A human-readable description of why the timer is pending.

metadata IReadOnlyDictionary<string, string>?

Additional operator-facing metadata describing the timer.

Gets the human-readable timer description when one was supplied.

public string? Description { get; }

string?

Gets the operator-facing timer name.

public string DisplayName { get; }

string

Gets the UTC timestamp when the timer is next due.

public DateTimeOffset DueAtUtc { get; }

DateTimeOffset

Gets the stable timer identifier within the durable workflow.

public string Id { get; }

string

Gets additional operator-facing metadata describing the timer.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>