Dela via


RemoteSystemSessionWatcher.Updated Event

Definition

Raised when a previously discovered remote session has some part of its information updated.

// Register
event_token Updated(TypedEventHandler<RemoteSystemSessionWatcher, RemoteSystemSessionUpdatedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RemoteSystemSessionWatcher::Updated_revoker Updated(auto_revoke_t, TypedEventHandler<RemoteSystemSessionWatcher, RemoteSystemSessionUpdatedEventArgs const&> const& handler) const;
public event TypedEventHandler<RemoteSystemSessionWatcher,RemoteSystemSessionUpdatedEventArgs> Updated;
function onUpdated(eventArgs) { /* Your code */ }
remoteSystemSessionWatcher.addEventListener("updated", onUpdated);
remoteSystemSessionWatcher.removeEventListener("updated", onUpdated);
- or -
remoteSystemSessionWatcher.onupdated = onUpdated;
Public Custom Event Updated As TypedEventHandler(Of RemoteSystemSessionWatcher, RemoteSystemSessionUpdatedEventArgs) 

Event Type

Windows requirements

App capabilities
remoteSystem

Applies to