PeerCollaboration.LocalNameChanged 事件

定義

會在本機對等電腦本端主機上的 PeerEndPoint 名稱變更時引發。Raised when the name of the PeerEndPoint on the local host for the local peer has changed.

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) 

事件類型

EventHandler<NameChangedEventArgs>
屬性

適用於

另請參閱