共用方式為


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 物件已被處置。

適用於

另請參閱