Mono Class Library: System.Net.ServicePointManager Overview | MembersSystem.Net.ServicePointManager.FindServicePoint Method |
Finds an existing System.Net.ServicePoint or creates a new System.Net.ServicePoint to connect to the specified host. [Edit]
|
- uriString
- A string containing a URI that names the host to contact. [Edit]
- proxy
- A System.Net.IWebProxy that represents a proxy server to access. [Edit]
A System.Net.ServicePoint that connects to the host identified in uriString . [Edit]
Type Reason ArgumentNullException uriString is null. [Edit] UriFormatException The URI specified in uriString is in an invalid form. [Edit] InvalidOperationException The maximum number of service points defined in ServicePointManager.MaxServicePoints has been reached and there is no service point that connects to the specified host. [Edit]
This method is identical to ServicePointManager.FindServicePoint(Uri)(new Uri(uriString), proxy).
If no System.Net.ServicePoint exists for the host named in uriString, the System.Net.ServicePointManager attempts to create one.
[Edit]
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0