Export (0) Print
Expand All

ContactManager.PresenceChanged Event

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)

'Declaration
Public Event PresenceChanged As EventHandler(Of PresenceChangedEventArgs)

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft