TcpConnectionPoolSettings.IdleTimeout Property

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

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel.NetTcp (in System.ServiceModel.NetTcp.dll)

public TimeSpan IdleTimeout { get; set; }

Property Value

Type: System.TimeSpan
A TimeSpan structure that indicates the maximum time that the connection can be idle in the connection pool before being disconnected.

ExceptionCondition
ArgumentOutOfRangeException

The value is less than zero.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: