Udostępnij za pośrednictwem


IDurableOrchestrationContext.CurrentUtcDateTime Property

Definition

Gets the current date/time in a way that is safe for use in orchestrations and entity operations.

public DateTime CurrentUtcDateTime { get; }
member this.CurrentUtcDateTime : DateTime
Public ReadOnly Property CurrentUtcDateTime As DateTime

Property Value

The orchestration or entity's current date/time in UTC.

Remarks

This date/time value is derived from the orchestration or entity history. It always returns the same value at specific points in the orchestrator function code, making it deterministic and safe for replay.

Applies to