PeerContact.OnPresenceChanged(PresenceChangedEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.