Edit

Share via


ContactManager.NameChanged Event

Definition

Raised whenever the PeerName associated with a PeerContact in the ContactManager has changed.

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

Event Type

Attributes

Exceptions

The calling object has been disposed.

Remarks

The associated callback provides a reference to the new PeerName.

This event requires a PermissionState of Unrestricted.

Applies to

See also