TaskOrchestrationContext.CurrentUtcDateTime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current orchestration time in UTC.
public abstract DateTime CurrentUtcDateTime { get; }
member this.CurrentUtcDateTime : DateTime
Public MustOverride ReadOnly Property CurrentUtcDateTime As DateTime
Property Value
Remarks
The current orchestration time is stored in the orchestration history and this API will return the same value each time it is called from a particular point in the orchestration's execution. It is a deterministic, replay-safe replacement for existing .NET APIs for getting the current time, such as UtcNow and UtcNow.