ILoggingChannel.LoggingEnabled Evento

Definição

Gerado quando o canal de registro em log é anexado a uma LoggingSession ou outras ferramentas de rastreamento e depuração de eventos.

// 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
ILoggingChannel::LoggingEnabled_revoker LoggingEnabled(auto_revoke_t, TypedEventHandler<ILoggingChannel, IInspectable const&> const& handler) const;
event TypedEventHandler<ILoggingChannel,object> LoggingEnabled;
function onLoggingEnabled(eventArgs) { /* Your code */ }
iLoggingChannel.addEventListener("loggingenabled", onLoggingEnabled);
iLoggingChannel.removeEventListener("loggingenabled", onLoggingEnabled);
- or -
iLoggingChannel.onloggingenabled = onLoggingEnabled;
Event LoggingEnabled As TypedEventHandler(Of ILoggingChannel, Object) 

Tipo de evento

Aplica-se a

Confira também