Udostępnij za pośrednictwem


ServicePoint.BindIPEndPointDelegate Właściwość

Definicja

Określa delegata do skojarzenia lokalnego IPEndPoint z .ServicePoint

public:
 property System::Net::BindIPEndPoint ^ BindIPEndPointDelegate { System::Net::BindIPEndPoint ^ get(); void set(System::Net::BindIPEndPoint ^ value); };
public System.Net.BindIPEndPoint? BindIPEndPointDelegate { get; set; }
public System.Net.BindIPEndPoint BindIPEndPointDelegate { get; set; }
member this.BindIPEndPointDelegate : System.Net.BindIPEndPoint with get, set
Public Property BindIPEndPointDelegate As BindIPEndPoint

Wartość właściwości

Delegat, który wymusza ServicePoint użycie określonego lokalnego adresu IP i numeru portu. Wartość domyślna to null.

Uwagi

Niektóre techniki równoważenia obciążenia wymagają, aby klient używał określonego lokalnego adresu IP i numeru portu, a nie IPAddress.Any (lub IPAddress.IPv6Any dla protokołu internetowego w wersji 6) i portu efemerycznego. Twoje BindIPEndPointDelegate może spełnić to wymaganie.

Dotyczy