Delen via


IDurableOrchestrationContext.IsReplaying Property

Definition

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