PeerContact.OnPresenceChanged(PresenceChangedEventArgs) Method

Definition

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

C#
protected virtual void OnPresenceChanged(System.Net.PeerToPeer.Collaboration.PresenceChangedEventArgs presenceChangedArgs);

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

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also