Bagikan melalui


PreviewTeamView.CleanupRequested Kejadian

Definisi

Sistem mengakhiri sesi pengguna saat ini dan memberi tahu aplikasi VTC bahwa sistem harus membersihkan status pengguna apa pun. Jika ada status pada disk, atau beberapa operasi lambat lainnya diperlukan, aplikasi dapat menangguhkan dalam argumen.

// Register
event_token CleanupRequested(TypedEventHandler<PreviewTeamView, PreviewTeamCleanupRequestedEventArgs const&> const& handler) const;

// Revoke with event_token
void CleanupRequested(event_token const* cookie) const;

// Revoke with event_revoker
PreviewTeamView::CleanupRequested_revoker CleanupRequested(auto_revoke_t, TypedEventHandler<PreviewTeamView, PreviewTeamCleanupRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<PreviewTeamView,PreviewTeamCleanupRequestedEventArgs> CleanupRequested;
function onCleanupRequested(eventArgs) { /* Your code */ }
previewTeamView.addEventListener("cleanuprequested", onCleanupRequested);
previewTeamView.removeEventListener("cleanuprequested", onCleanupRequested);
- or -
previewTeamView.oncleanuprequested = onCleanupRequested;
Public Custom Event CleanupRequested As TypedEventHandler(Of PreviewTeamView, PreviewTeamCleanupRequestedEventArgs) 

Jenis Acara

Berlaku untuk