ILoggingChannel.LoggingEnabled Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raised when the logging channel is attached to a LoggingSession or other event tracing and debugging tools.
// 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)
Event Type
TypedEventHandler<ILoggingChannel,IInspectable>
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor