Επεξεργασία

Κοινή χρήση μέσω


PeerNameRecord.EndPointCollection Property

Definition

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

Property Value

A IPEndPointCollection object that contains a collection of IPEndPoint objects. These objects contain the endpoints of other peers participating within the associated peer cloud. The default value for this property is null.

Remarks

This 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. For each endpoint an IP address and port must be provided. The maximum number of endpoints that can be provided is ten.

Applies to