Bewerken

Delen via


ContactManager.ObjectChanged Event

Definition

Raised whenever an object within a contact's registered PeerObject objects has changed.

public:
 event EventHandler<System::Net::PeerToPeer::Collaboration::ObjectChangedEventArgs ^> ^ ObjectChanged;
[add: System.Security.SecurityCritical]
[remove: System.Security.SecurityCritical]
public event EventHandler<System.Net.PeerToPeer.Collaboration.ObjectChangedEventArgs> ObjectChanged;
[<add: System.Security.SecurityCritical>]
[<remove: System.Security.SecurityCritical>]
member this.ObjectChanged : EventHandler<System.Net.PeerToPeer.Collaboration.ObjectChangedEventArgs> 
Public Custom Event ObjectChanged As EventHandler(Of ObjectChangedEventArgs) 

Event Type

Attributes

Exceptions

The PeerObject object has been disposed.

Remarks

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 PeerContact Subscribe methods.

This event requires a PermissionState of Unrestricted.

Applies to

See also