PeerNameRegistration.PeerName 属性
定义
获取或设置要向对等群注册的对等名称。Gets or sets the peer name to register with a peer cloud.
public:
property System::Net::PeerToPeer::PeerName ^ PeerName { System::Net::PeerToPeer::PeerName ^ get(); void set(System::Net::PeerToPeer::PeerName ^ value); };
public System.Net.PeerToPeer.PeerName PeerName { get; set; }
member this.PeerName : System.Net.PeerToPeer.PeerName with get, set
Public Property PeerName As PeerName
属性值
一个 PeerName 类型的对象,其中包含与此 PeerNameRegistration 对象关联的值。An object of type PeerName that contains values associated with this PeerNameRegistration object. 除非显式指定,否则对于引用类型,所有属性的默认值均为 null。Unless explicitly specified, the default value for all properties is null for reference types.
注解
可为多个节点注册对等名称;每个 PeerNameRegistration 实例都是不同的。A peer name can be registered for more than one node; each PeerNameRegistration instance is distinct. EndPointCollection与每个对应的实例关联的属性 PeerName 不同。The EndPointCollection property associated with each corresponding PeerName instance is different. 此外,还可以为节点连接到的多个云注册对等名称;其中每个注册都是不同的。Also, it is possible to register a peer name for more than one cloud that the node is connected to; each of these registrations is distinct. IPEndPointCollection每个实例中的对等名称将不同。The peer name's IPEndPointCollection will be different in each of these instances.