Mono Class Library: System.Net.ServicePointManager Overview | MembersSystem.Net.ServicePointManager.MaxServicePointIdleTime Property |
Gets or sets the maximum amount of time a System.Net.ServicePoint instance can be idle, after which resources allocated to the service point can be released. [Edit]
Value: 900000
|
A int containing the maximum idle time, in milliseconds, of a System.Net.ServicePoint instance. [Edit]
Type Reason ArgumentOutOfRangeException The value specified for a set operation is less than System.Threading.Timeout.Infinite or greater than int.MaxValue [Edit]
A System.Net.ServicePoint is idle when the list of connections associated with the System.Net.ServicePoint is empty.
The ServicePointManager.MaxServicePointIdleTime property holds the value for the maximum idle time for service points. When a System.Net.ServicePoint instance is created, this value is assigned to its ServicePoint.MaxIdleTime property. Changes to the value of this property affect only System.Net.ServicePoint instances that are initialized after this property is changed.
After a System.Net.ServicePoint has been idle for the time specified in ServicePoint.MaxIdleTime , it is released by the service point manager, and any resources allocated for it are freed.
The default value of this property is implementation defined.
[Edit]
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0