CircuitOptions.DisconnectedCircuitRetentionPeriod 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 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
.