QuicClientConnectionOptions.RemoteEndPoint 属性

定义

获取或设置要连接到的远程终结点。 可以是 , DnsEndPoint它将在连接之前解析为 IP,也可以是 IPEndPoint

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

属性值

注解

此属性是必需的,不设置此属性将导致建立连接时出现验证错误。

适用于