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 세션에서 채널을 사용할 때 발생합니다.

적용 대상

추가 정보