Finds an existing System.Net.ServicePoint object or creates a new System.Net.ServicePoint object to manage communications with the specified Uri object.
- address
- A Uri object that contains the address of the Internet resource to contact.
- proxy
- The proxy data for this request.
The System.Net.ServicePoint object that manages communications for the request.
Type Reason ArgumentNullException address is null. 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.
The ServicePointManager.FindServicePoint(Uri) method returns the System.Net.ServicePoint object associated with the specified Internet host name. If no System.Net.ServicePoint object exists for that host, the System.Net.ServicePointManager object creates one.