RemoteSystemWatcher.EnumerationCompleted 事件

定义

当初始远程系统发现过程完成时,将引发此事件。

// Register
event_token EnumerationCompleted(TypedEventHandler<RemoteSystemWatcher, RemoteSystemEnumerationCompletedEventArgs const&> const& handler) const;

// Revoke with event_token
void EnumerationCompleted(event_token const* cookie) const;

// Revoke with event_revoker
RemoteSystemWatcher::EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, TypedEventHandler<RemoteSystemWatcher, RemoteSystemEnumerationCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<RemoteSystemWatcher,RemoteSystemEnumerationCompletedEventArgs> EnumerationCompleted;
function onEnumerationCompleted(eventArgs) { /* Your code */ }
remoteSystemWatcher.addEventListener("enumerationcompleted", onEnumerationCompleted);
remoteSystemWatcher.removeEventListener("enumerationcompleted", onEnumerationCompleted);
- or -
remoteSystemWatcher.onenumerationcompleted = onEnumerationCompleted;
Public Custom Event EnumerationCompleted As TypedEventHandler(Of RemoteSystemWatcher, RemoteSystemEnumerationCompletedEventArgs) 

事件类型

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

注解

此事件针对不同的条件引发,具体取决于发现类型,但在每种情况下,它都表示可以预期发现所有可用设备的时间。

适用于