Mono Class Library: System.Net Namespace

System.Net.ServicePoint Class

Represents connections to Internet hosts. [Edit]

See Also: ServicePoint Members

public class ServicePoint

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

The System.Net.ServicePoint class handles connections to a resource based on the host information passed in the Uniform Resource Identifier (URI) of the resource. The initial connection to the host determines the information the System.Net.ServicePoint maintains, which is then shared by all subsequent requests for resources residing on the host.

Note:

System.Net.ServicePoint instances are created and managed by the System.Net.ServicePointManager class. The maximum number of System.Net.ServicePoint instances is set by the ServicePointManager.MaxServicePoints property.

A System.Net.ServicePoint instance that is not connected to any host is idle. An idle System.Net.ServicePoint is managed by the System.Net.ServicePointManager only until it has been idle longer than the time specified in its ServicePoint.MaxIdleTime property. After a System.Net.ServicePoint instance exceeds the ServicePoint.MaxIdleTime , it is released by the service point manager and subsequently freed. The default value of ServicePoint.MaxIdleTime is set by the ServicePointManager.MaxServicePointIdleTime property.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.x.x, 1.0.5000.0, 2.0.0.0