PeerContact.PresenceChanged 事件

定义

只要 PeerContact 的状态发生更改,就会引发此事件。

public:
 event EventHandler<System::Net::PeerToPeer::Collaboration::PresenceChangedEventArgs ^> ^ PresenceChanged;
[add: System.Security.SecurityCritical]
[remove: System.Security.SecurityCritical]
public event EventHandler<System.Net.PeerToPeer.Collaboration.PresenceChangedEventArgs> PresenceChanged;
[<add: System.Security.SecurityCritical>]
[<remove: System.Security.SecurityCritical>]
member this.PresenceChanged : EventHandler<System.Net.PeerToPeer.Collaboration.PresenceChangedEventArgs> 
Public Custom Event PresenceChanged As EventHandler(Of PresenceChangedEventArgs) 

事件类型

属性

例外

已释放 PeerContact 对象。

适用于

另请参阅