Compartir a través de


LoggingInstrumentationProvider.traceListenerEntryWritten Event

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Occurs when a log entry is traced by a trace listener.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging.Instrumentation
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)

Syntax

'Declaration
<InstrumentationProviderAttribute("TraceListenerEntryWritten")> _
Public Event traceListenerEntryWrittenAs EventHandler(Of EventArgs)
[InstrumentationProviderAttribute("TraceListenerEntryWritten")]
public event EventHandler<EventArgs> traceListenerEntryWritten
[InstrumentationProviderAttribute(L"TraceListenerEntryWritten")]
public:
 event EventHandler<EventArgs^>^ traceListenerEntryWritten {
    voidadd (EventHandler<EventArgs^>^ value);
    voidremove (EventHandler<EventArgs^>^ value);
}
JScript does not support events.

See Also

LoggingInstrumentationProvider Class

Microsoft.Practices.EnterpriseLibrary.Logging.Instrumentation Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.