UserWatcher.Stopped Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Diaktifkan saat pengamat pengguna berhenti.
// Register
event_token Stopped(TypedEventHandler<UserWatcher, IInspectable const&> const& handler) const;
// Revoke with event_token
void Stopped(event_token const* cookie) const;
// Revoke with event_revoker
UserWatcher::Stopped_revoker Stopped(auto_revoke_t, TypedEventHandler<UserWatcher, IInspectable const&> const& handler) const;
public event TypedEventHandler<UserWatcher,object> Stopped;
function onStopped(eventArgs) { /* Your code */ }
userWatcher.addEventListener("stopped", onStopped);
userWatcher.removeEventListener("stopped", onStopped);
- or -
userWatcher.onstopped = onStopped;
Public Custom Event Stopped As TypedEventHandler(Of UserWatcher, Object)
Jenis Acara
TypedEventHandler<UserWatcher,IInspectable>