TcpConnectionPoolSettingsElement.IdleTimeout Property

 

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

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[ConfigurationPropertyAttribute("idleTimeout", DefaultValue = "00:02:00")]
public TimeSpan IdleTimeout { get; set; }

Property Value

Type: System.TimeSpan

A positive TimeSpan that specifies the maximum time the connection can be idle before being disconnected. The default is 00:02:00.

.NET Framework
Available since 3.0
Return to top
Show: