RemoteSystemWatcher.RemoteSystemUpdated 事件

定义

当远程系统 (以前在此发现会话中发现的设备) 从近端连接到云或反向时引发。 当远程系统更改其监视属性之一 (查看 RemoteSystem 类) 的属性时,也会引发此事件。

// Register
event_token RemoteSystemUpdated(TypedEventHandler<RemoteSystemWatcher, RemoteSystemUpdatedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RemoteSystemWatcher::RemoteSystemUpdated_revoker RemoteSystemUpdated(auto_revoke_t, TypedEventHandler<RemoteSystemWatcher, RemoteSystemUpdatedEventArgs const&> const& handler) const;
public event TypedEventHandler<RemoteSystemWatcher,RemoteSystemUpdatedEventArgs> RemoteSystemUpdated;
function onRemoteSystemUpdated(eventArgs) { /* Your code */ }
remoteSystemWatcher.addEventListener("remotesystemupdated", onRemoteSystemUpdated);
remoteSystemWatcher.removeEventListener("remotesystemupdated", onRemoteSystemUpdated);
- or -
remoteSystemWatcher.onremotesystemupdated = onRemoteSystemUpdated;
Public Custom Event RemoteSystemUpdated As TypedEventHandler(Of RemoteSystemWatcher, RemoteSystemUpdatedEventArgs) 

事件类型

Windows 要求

应用功能
remoteSystem

适用于