SubscribeCompletedEventArgs.PeerContact 属性

定义

指定为其请求订阅的 PeerContactSpecifies the PeerContact for which the subscription was requested.

public:
 property System::Net::PeerToPeer::Collaboration::PeerContact ^ PeerContact { System::Net::PeerToPeer::Collaboration::PeerContact ^ get(); };
public System.Net.PeerToPeer.Collaboration.PeerContact PeerContact { get; }
member this.PeerContact : System.Net.PeerToPeer.Collaboration.PeerContact
Public ReadOnly Property PeerContact As PeerContact

属性值

PeerContact

为其请求订阅的 PeerContact 对象。PeerContact object for which a subscription was requested.

注解

null如果为没有关联的的实例完成了订阅,则此值为 PeerNearMe PeerContactThis value is null if the subscription is completed for an instance of PeerNearMe that does not have an associated PeerContact.

适用于

另请参阅