Gets or sets the maximum idle time in seconds of a ServicePoint.
[Visual Basic] Public Shared Property MaxServicePointIdleTime As Integer [C#] public static int MaxServicePointIdleTime {get; set;} [C++] public: __property static int get_MaxServicePointIdleTime(); public: __property static void set_MaxServicePointIdleTime(int); [JScript] public static function get MaxServicePointIdleTime() : int; public static function set MaxServicePointIdleTime(int);
After a ServicePoint has been idle for the time specified in MaxServicePointIdleTime it is elligible for garbage collection. A ServicePoint is idle when the list of Connection instances associated with the ServicePoint is empty.
Defaul value is 43,200 seconds (12 hours).
ServicePointManager Class | ServicePointManager Members | System.Net Namespace