Share via


CircuitOptions.DisconnectedCircuitRetentionPeriod Property

Definition

Gets or sets a value that determines the maximum duration state for a disconnected circuit is retained on the server.

When a client disconnects, ASP.NET Core Components attempts to retain state on the server for an interval. This allows the client to re-establish a connection to the existing circuit on the server without losing any state in the event of transient connection issues.

This value determines the maximum duration circuit state is retained by the server before being evicted.

public:
 property TimeSpan DisconnectedCircuitRetentionPeriod { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan DisconnectedCircuitRetentionPeriod { get; set; }
member this.DisconnectedCircuitRetentionPeriod : TimeSpan with get, set
Public Property DisconnectedCircuitRetentionPeriod As TimeSpan

Property Value

Defaults to 3 minutes.

Applies to