RemoteSystemWatcher.RemoteSystemRemoved イベント

定義

以前に検出されたリモート システム (デバイス) が表示されなくなったときに発生するイベント。

// 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 で指定されたすべてのカテゴリでリモート システムが検出可能でなくなった後にのみ発生します。

適用対象