IFileLoggingSession.LogFileGenerated 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
儲存記錄檔時引發。
// 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)