This documentation is archived and is not being maintained.

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)

public event EventHandler<PresenceChangedEventArgs> PresenceChanged

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.

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: