RemoteSystemWatcher.EnumerationCompleted 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當初始遠端系統探索程式完成時,就會引發此事件。
// Register
event_token EnumerationCompleted(TypedEventHandler<RemoteSystemWatcher, RemoteSystemEnumerationCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void EnumerationCompleted(event_token const* cookie) const;
// Revoke with event_revoker
RemoteSystemWatcher::EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, TypedEventHandler<RemoteSystemWatcher, RemoteSystemEnumerationCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<RemoteSystemWatcher,RemoteSystemEnumerationCompletedEventArgs> EnumerationCompleted;
function onEnumerationCompleted(eventArgs) { /* Your code */ }
remoteSystemWatcher.addEventListener("enumerationcompleted", onEnumerationCompleted);
remoteSystemWatcher.removeEventListener("enumerationcompleted", onEnumerationCompleted);
- or -
remoteSystemWatcher.onenumerationcompleted = onEnumerationCompleted;
Public Custom Event EnumerationCompleted As TypedEventHandler(Of RemoteSystemWatcher, RemoteSystemEnumerationCompletedEventArgs)
事件類型
Windows 需求
裝置系列 |
Windows 10, version 1803 (已於 10.0.17134.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v6.0 引進)
|
備註
根據探索類型,會針對不同的準則引發此事件,但在每個案例中,都是表示所有可用裝置預期都已探索到的時間。