Represents the method that specifies a local Internet Protocol address and port number for a ServicePoint.
Assembly: System (in System.dll)
public delegate IPEndPoint^ BindIPEndPoint( ServicePoint^ servicePoint, IPEndPoint^ remoteEndPoint, int retryCount )
The ServicePoint associated with the connection to be created.
The number of times this delegate was called for a specified connection.
Specify that the 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.delegate is used by a
If you want the delegate to give the service point control of the connection binding, the delegate should return null. If you want to abort the connection, the delegate must throw an exception.
Available since 2.0