PeerNameRecord.EndPointCollection 属性

定义

获取 PeerEndPointCollection 对象,该对象包含可供与此 PeerNameRecord 对象关联的对等方使用的所有终结点。Gets an PeerEndPointCollection object that contains all the endpoints available to the peer associated with this PeerNameRecord object.

public:
 property System::Net::IPEndPointCollection ^ EndPointCollection { System::Net::IPEndPointCollection ^ get(); };
public System.Net.IPEndPointCollection EndPointCollection { get; }
member this.EndPointCollection : System.Net.IPEndPointCollection
Public ReadOnly Property EndPointCollection As IPEndPointCollection

属性值

IPEndPointCollection

一个包含 IPEndPointCollection 对象集合的 IPEndPoint 对象。A IPEndPointCollection object that contains a collection of IPEndPoint objects. 这些对象包含参与关联对等方群的其他对等方的终结点。These objects contain the endpoints of other peers participating within the associated peer cloud. 此属性的默认值为 nullThe default value for this property is null.

注解

此属性包含终结点的集合,或中与 Cloud 此中命名的对等端最近的对等方 PeerNameRecordThis property contains the set of endpoints, or peers in the Cloud, nearest to the peer named in this PeerNameRecord. 这种情况与该对等方直接进行通信,而不是通过中介。These are the ones with which this peer communicates directly, rather than through an intermediary. 对于每个终结点,必须提供 IP 地址和端口。For each endpoint an IP address and port must be provided. 最多可提供10个终结点。The maximum number of endpoints that can be provided is ten.

适用于