SocketsHttpHandler.PooledConnectionIdleTimeout 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 how long a connection can be idle in the pool to be considered reusable.
public:
property TimeSpan PooledConnectionIdleTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan PooledConnectionIdleTimeout { get; set; }
member this.PooledConnectionIdleTimeout : TimeSpan with get, set
Public Property PooledConnectionIdleTimeout As TimeSpan
Property Value
The maximum idle time for a connection in the pool. The default value for this property is 1 minute in .NET 6 and later versions; the default value is 2 minutes in .NET Core and .NET 5
Exceptions
The value specified is less than Zero (except InfiniteTimeSpan).
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.