ServicePoint.BindIPEndPointDelegate Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour