共用方式為


SessionHandlerOptions.AutoRenewTimeout Property

Definition

Gets or sets the time needed before the session renew its state. If a session lock is going to expire, this value is the duration for the session lock to be automatically renewed.

public TimeSpan AutoRenewTimeout { get; set; }
member this.AutoRenewTimeout : TimeSpan with get, set
Public Property AutoRenewTimeout As TimeSpan

Property Value

The time needed before the session renew its state.

Remarks

If this auto renewal fails, clients will receive an exception in the exception handler.

Applies to