ServicePoint.BindIPEndPointDelegate Propriété

Définition

Spécifie le délégué pour associer un IPEndPoint local à 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

Valeur de propriété

Délégué qui force ServicePoint à utiliser une adresse IP (Internet Protocol) locale et un numéro de port particuliers. La valeur par défaut est null.

Remarques

Certaines techniques d’équilibrage de charge nécessitent qu’un client utilise une adresse IP locale et un numéro de port spécifiques, plutôt que IPAddress.Any (ou IPAddress.IPv6Any pour le protocole Internet version 6) et un port éphémère. Votre BindIPEndPointDelegate peut satisfaire à cette exigence.

S’applique à