PeerNearMe.PeerNearMeChanged 事件

定义

在下列情况下发出此信号:找到新的 PeerNearMe 实例,该实例不再可用或关联的 PeerEndPoint 对象信息发生更改。

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

事件类型

属性

适用于