PeerCollaboration.LocalNameChanged 事件

定义

当本地对等方所在的本地主机上的 PeerEndPoint 名称更改时引发。

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

事件类型

属性

适用于

另请参阅