Represents the method that specifies a local Internet Protocol address and port number for a ServicePoint.
Assembly: System (in System.dll)
type BindIPEndPoint = delegate of servicePoint:ServicePoint * remoteEndPoint:IPEndPoint * retryCount:int -> IPEndPoint
- Type: System.Net.ServicePoint
The ServicePoint associated with the connection to be created.
- Type: System.Int32
The number of times this delegate was called for a specified connection.
Specify that the delegate is used by a ServicePoint by setting the ServicePoint.BindIPEndPointDelegate property with the delegate as an argument. This delegate should specify a local IP address and port number in the returned IPEndPoint.
If you want the delegate to give the service point control of the connection binding, the delegate should return a null reference (Nothing in Visual Basic). If you want to abort the connection, the delegate must throw an exception.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.