ContactManager::NameChanged Event


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

Namespace:   System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

event EventHandler<NameChangedEventArgs^>^ NameChanged {
	void add(EventHandler<NameChangedEventArgs^>^ value);
	void remove(EventHandler<NameChangedEventArgs^>^ value);

Exception Condition

The calling object has been disposed.

The associated callback provides a reference to the new PeerName.

This event requires a PermissionState of Unrestricted.

.NET Framework
Available since 3.5
Return to top