共用方式為


RemoteSystemWatcher.RemoteSystemUpdated 事件

定義

當遠端系統 (裝置) 先前在此探索會話中所探索到的裝置,從與雲端連線的 proxy 或反向變更時引發。 當遠端系統變更其中一個受監視的屬性時,也會引發 (查看 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

適用於