This documentation is archived and is not being maintained.

ServicePointManager.FindServicePoint Method (Uri)

.NET Framework 1.1

Finds an existing ServicePoint or creates a new ServicePoint to manage communications with the specified Uri.

[Visual Basic]
Overloads Public Shared Function FindServicePoint( _
   ByVal address As Uri _
) As ServicePoint
public static ServicePoint FindServicePoint(
 Uri address
public: static ServicePoint* FindServicePoint(
 Uri* address
public static function FindServicePoint(
   address : Uri
) : ServicePoint;


The Uri of the Internet resource to contact.

Return Value

The ServicePoint that manages communications for the request.


Exception Type Condition
ArgumentNullException address is a null reference (Nothing in Visual Basic).
InvalidOperationException The maximum number of service points defined in MaxServicePoints has been reached.


The FindServicePoint method returns the ServicePoint instance associated with the specified Internet host name. If no ServicePoint exists for that host, the ServicePointManager creates one.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

ServicePointManager Class | ServicePointManager Members | System.Net Namespace | ServicePointManager.FindServicePoint Overload List