TcpConnectionPoolSettings.IdleTimeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.