共用方式為


IFileLoggingSession.LogFileGenerated 事件

定義

儲存記錄檔時引發。

// Register
event_token LogFileGenerated(TypedEventHandler<IFileLoggingSession, LogFileGeneratedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
IFileLoggingSession::LogFileGenerated_revoker LogFileGenerated(auto_revoke_t, TypedEventHandler<IFileLoggingSession, LogFileGeneratedEventArgs const&> const& handler) const;
event TypedEventHandler<IFileLoggingSession,LogFileGeneratedEventArgs> LogFileGenerated;
function onLogFileGenerated(eventArgs) { /* Your code */ }
iFileLoggingSession.addEventListener("logfilegenerated", onLogFileGenerated);
iFileLoggingSession.removeEventListener("logfilegenerated", onLogFileGenerated);
- or -
iFileLoggingSession.onlogfilegenerated = onLogFileGenerated;
Event LogFileGenerated As TypedEventHandler(Of IFileLoggingSession, LogFileGeneratedEventArgs) 

事件類型

適用於