IDurableOrchestrationContext.IsReplaying 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 a value indicating whether the orchestration or operation is currently replaying itself.
public bool IsReplaying { get; }
member this.IsReplaying : bool
Public ReadOnly Property IsReplaying As Boolean
Property Value
true
if the orchestration or operation is currently being replayed; otherwise false
.
Remarks
This property is useful when there is logic that needs to run only when *not* replaying. For example, certain types of application logging may become too noisy when duplicated as part of replay. The application code could check to see whether the function is being replayed and then issue the log statements when this value is false
.
Applies to
Azure SDK for .NET