RemoteSystemWatcher.RemoteSystemRemoved 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
以前发现的远程系统 (设备) 不再可见时引发的事件。
// Register
event_token RemoteSystemRemoved(TypedEventHandler<RemoteSystemWatcher, RemoteSystemRemovedEventArgs const&> const& handler) const;
// Revoke with event_token
void RemoteSystemRemoved(event_token const* cookie) const;
// Revoke with event_revoker
RemoteSystemWatcher::RemoteSystemRemoved_revoker RemoteSystemRemoved(auto_revoke_t, TypedEventHandler<RemoteSystemWatcher, RemoteSystemRemovedEventArgs const&> const& handler) const;
public event TypedEventHandler<RemoteSystemWatcher,RemoteSystemRemovedEventArgs> RemoteSystemRemoved;
function onRemoteSystemRemoved(eventArgs) { /* Your code */ }
remoteSystemWatcher.addEventListener("remotesystemremoved", onRemoteSystemRemoved);
remoteSystemWatcher.removeEventListener("remotesystemremoved", onRemoteSystemRemoved);
- or -
remoteSystemWatcher.onremotesystemremoved = onRemoteSystemRemoved;
Public Custom Event RemoteSystemRemoved As TypedEventHandler(Of RemoteSystemWatcher, RemoteSystemRemovedEventArgs)
事件类型
Windows 要求
应用功能 |
remoteSystem
|
注解
仅当远程系统停止通过关联的 RemoteSystemDiscoveryTypeFilter 指定的所有类别时,才会引发此事件。