Partilhar via


SocketsHttpHandlerOptions.PooledConnectionLifetime Property

Definition

Gets or sets how long a connection can be in the pool to be considered reusable.

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

Property Value

The default value is 5 minutes.

Applies to