ContactManager.NameChanged Evento

Definición

Se provoca cuando cambia el objeto PeerName asociado a PeerContact en ContactManager.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) 

Tipo de evento

EventHandler<NameChangedEventArgs>
Atributos

Excepciones

El objeto de llamada se ha eliminado.The calling object has been disposed.

Comentarios

La devolución de llamada asociada proporciona una referencia al nuevo PeerName .The associated callback provides a reference to the new PeerName.

Este evento requiere un PermissionState de Unrestricted .This event requires a PermissionState of Unrestricted.

Se aplica a

Consulte también