LoggingChannel.LoggingEnabled イベント

定義

ログ チャネルが LoggingSession またはその他のイベント トレースおよびデバッグ ツールにアタッチされると発生します。

// Register
event_token LoggingEnabled(TypedEventHandler<ILoggingChannel, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
LoggingChannel::LoggingEnabled_revoker LoggingEnabled(auto_revoke_t, TypedEventHandler<ILoggingChannel, IInspectable const&> const& handler) const;
public event TypedEventHandler<ILoggingChannel,object> LoggingEnabled;
function onLoggingEnabled(eventArgs) { /* Your code */ }
loggingChannel.addEventListener("loggingenabled", onLoggingEnabled);
loggingChannel.removeEventListener("loggingenabled", onLoggingEnabled);
- or -
loggingChannel.onloggingenabled = onLoggingEnabled;
Public Custom Event LoggingEnabled As TypedEventHandler(Of ILoggingChannel, Object) Implements LoggingEnabled

イベントの種類

実装

注釈

LoggingEnabled イベントは、チャネルがアプリのプロセス内のセッション、またはデバッグまたはパフォーマンス分析ツールで開始されたカーネル モード ETW セッションによって消費されるときに発生します。

適用対象

こちらもご覧ください