RemoteSystemWatcher.EnumerationCompleted RemoteSystemWatcher.EnumerationCompleted RemoteSystemWatcher.EnumerationCompleted RemoteSystemWatcher.EnumerationCompleted RemoteSystemWatcher.EnumerationCompleted Event

Definition

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

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

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

// Revoke with event_revoker
EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, TypedEventHandler<RemoteSystemWatcher, RemoteSystemEnumerationCompletedEventArgs> const& handler) const;
public event TypedEventHandler<RemoteSystemWatcher, RemoteSystemEnumerationCompletedEventArgs> EnumerationCompleted
Public Event EnumerationCompleted As TypedEventHandler (Of RemoteSystemWatcher, RemoteSystemEnumerationCompletedEventArgs)
function onEnumerationCompleted(eventArgs){/* Your code */}


remoteSystemWatcher.addEventListener("enumerationcompleted", onEnumerationCompleted);
remoteSystemWatcher.removeEventListener("enumerationcompleted", onEnumerationCompleted);

Additional features and requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)

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.