共用方式為


PreviewTeamView.CleanupRequested 事件

定義

系統會結束目前使用者的會話,並告知 VTC 應用程式應該清除任何使用者狀態。 如果磁片上有狀態,或需要一些其他緩慢的作業,應用程式可以在 引數中接受延遲。

// 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) 

事件類型

適用於