ServicePoint.BindIPEndPointDelegate Propriedade
Definição
Especifica o delegado para associar um IPEndPoint local com uma ServicePoint.Specifies the delegate to associate a local IPEndPoint with a 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
Valor da propriedade
Um delegado que força uma ServicePoint a usar um endereço IP local (protocolo IP) determinado e número da porta.A delegate that forces a ServicePoint to use a particular local Internet Protocol (IP) address and port number. O valor padrão é null.The default value is null.
Comentários
Algumas técnicas de balanceamento de carga exigem que um cliente use um endereço IP local específico e um número de porta, em vez de IPAddress.Any (ou IPAddress.IPv6Any para o IP versão 6) e uma porta efêmera.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. O BindIPEndPointDelegate pode atender a esse requisito.Your BindIPEndPointDelegate can satisfy this requirement.