ServicePoint::BindIPEndPointDelegate Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the delegate to associate a local IPEndPoint with a ServicePoint.

Namespace:   System.Net
Assembly:  System (in System.dll)

public:
property BindIPEndPoint^ BindIPEndPointDelegate {
	BindIPEndPoint^ get();
	void set(BindIPEndPoint^ value);
}

Property Value

Type: System.Net::BindIPEndPoint^

A delegate that forces a ServicePoint to use a particular local Internet Protocol (IP) address and port number. The default value is null.

Some load balancing techniques require a client to use a specific local IP address and port number, rather than IPAddress::Any (or IPAddress::IPv6Any for Internet Protocol Version 6) and an ephemeral port. Your BindIPEndPointDelegate can satisfy this requirement.

SecurityPermission

for binding to a local port. Associated enumeration: Infrastructure

.NET Framework
Available since 2.0
Return to top
Show: