PeerNameResolver.ResolveCompleted 事件

定义

特定 PeerName 的对等名称解析请求完成时发出 ResolveCompleted 事件信号。

public:
 event EventHandler<System::Net::PeerToPeer::ResolveCompletedEventArgs ^> ^ ResolveCompleted;
public event EventHandler<System.Net.PeerToPeer.ResolveCompletedEventArgs> ResolveCompleted;
member this.ResolveCompleted : EventHandler<System.Net.PeerToPeer.ResolveCompletedEventArgs> 
Public Custom Event ResolveCompleted As EventHandler(Of ResolveCompletedEventArgs) 

事件类型

注解

对于 ResolveProgressChanged 找到的每个终结点,该事件将引发一次,并且仅在找到所有终结点时引发此事件一次。

如果操作在错误中完成或被取消, Resolve 也会引发此事件。

适用于

另请参阅