The MsmqTraceListener is a trace listener that writes messages to a queue.
For a list of all members of this type, see MsmqTraceListener Members.
System.Object
System.MarshalByRefObject
System.Diagnostics.TraceListener
ComponentSpace.TraceListeners.MsmqTraceListener
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The following is an example of configuring the trace listener using the application's XML configuration file.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.diagnostics>
<trace autoflush="true" indentsize="4">
<listeners>
<add
name="MsmqTraceListener"
type="ComponentSpace.TraceListeners.MsmqTraceListener,ComponentSpace.TraceListeners"
initializeData=".\private$\trace"/>
</listeners>
</trace>
</system.diagnostics>
</configuration>
Namespace: ComponentSpace.TraceListeners
Assembly: ComponentSpace.TraceListeners (in ComponentSpace.TraceListeners.dll)
MsmqTraceListener Members | ComponentSpace.TraceListeners Namespace