共用方式為


PeerEndPoint.NameChanged 事件

定義

會在與 PeerEndPoint 物件相關聯的名稱變更時收到信號。

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) 

事件類型

屬性

例外狀況

PeerEndPoint 物件已經處置。

適用於