ContactManager.PresenceChanged Event

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Raised whenever the presence status of a PeerContact in the ContactManager has changed.

Namespace:   System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

Public Event PresenceChanged As EventHandler(Of PresenceChangedEventArgs)

Exception Condition
ObjectDisposedException

The PeerContact object has been disposed.

Before this event can be raised, the current user of the remote peer must subscribe to the collaboration events of the host peer. Subscription is accomplished via the Subscribe method.

This event requires a PermissionState of Unrestricted.

.NET Framework
Available since 3.5
Return to top
Show: