ServicePoint.BindIPEndPointDelegate 屬性

定義

指定使本機 IPEndPointServicePoint 產生關聯的委派。

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

屬性值

一種委派,可強制 ServicePoint 使用特定的本機網際網路通訊協定 (IP) 位址和連接埠編號。 預設值是 null

備註

某些負載平衡技術需要用戶端使用特定的本機 IP 位址和埠號碼,而不是 IPAddress.Any (或 IPAddress.IPv6Any 網際網路通訊協定第 6 版) 和暫時埠。 您可以 BindIPEndPointDelegate 滿足此需求。

適用於