共用方式為


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) 

事件類型

屬性

適用於

另請參閱