Share via


RemoteSystemWatcher.EnumerationCompleted Event

Definition

This event is raised when the initial remote system discovery process completes.

// 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) 

Event Type

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

This event is raised for different criteria depending on the discovery type, but in every case it is meant to signify the time when all available devices can be expected to have been discovered.

Applies to