Gets or sets the time span after which a connection in the connection pool is closed.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
This property bounds the overall lifetime of a socket. Once a socket has been around longer than , it is closed as soon as it is returned to the connection pool. The connection cache used by the TCP transport creates new connections as required for each endpoint up to the cache limit that is set by MaxOutboundConnectionsPerEndpoint.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.