Muokkaa

Jaa


NamedPipeConnectionPoolSettings.IdleTimeout Property

Definition

Gets or sets the maximum time the connection can be idle in the connection pool before being disconnected.

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

Property Value

Returns a TimeSpan structure that indicates the maximum time the connection can be idle in the connection pool before being disconnected.

Exceptions

The value is less than zero.

Applies to