แก้ไข

แชร์ผ่าน


PeerContact.OnPresenceChanged(PresenceChangedEventArgs) Method

Definition

Raises the PresenceChanged event when the PeerPresenceInfo of a peer has changed.

protected:
 virtual void OnPresenceChanged(System::Net::PeerToPeer::Collaboration::PresenceChangedEventArgs ^ presenceChangedArgs);
protected virtual void OnPresenceChanged (System.Net.PeerToPeer.Collaboration.PresenceChangedEventArgs presenceChangedArgs);
abstract member OnPresenceChanged : System.Net.PeerToPeer.Collaboration.PresenceChangedEventArgs -> unit
override this.OnPresenceChanged : System.Net.PeerToPeer.Collaboration.PresenceChangedEventArgs -> unit
Protected Overridable Sub OnPresenceChanged (presenceChangedArgs As PresenceChangedEventArgs)

Parameters

presenceChangedArgs
PresenceChangedEventArgs

The PresenceChangedEventArgs object to be passed to delegates associated with the PresenceChanged event.

Remarks

Presence changes occur when a peer signs out of an application, an application is registered or unregistered from the collaboration infrastructure, or a peer unsubscribes from a PeerContact or PeerNearMe.

Applies to

See also