Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

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

Exception Condition
ObjectDisposedException

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
Show:
© 2017 Microsoft