ContactManager.NameChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.