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)

member PresenceChanged : IEvent<EventHandler<PresenceChangedEventArgs>,
    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: