Share via


AsynchronousTraceListenerWrapper Class

Trace listener that wraps a normal trace listener to perform asynchronous tracing requests.

Namespace: Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll) Version: 6.0.0.0 (6.0.1304.0)

Syntax

public sealed class AsynchronousTraceListenerWrapper : TraceListener, 
    IAsynchronousTraceListener
'Declaration
Public NotInheritable Class AsynchronousTraceListenerWrapper
    Inherits TraceListener
    Implements IAsynchronousTraceListener
public ref class AsynchronousTraceListenerWrapper sealed : public TraceListener, 
    IAsynchronousTraceListener

Remarks

When disposed, the wrapper will attempt to complete all buffered tracing requests before completing the dispose request. To change this behavior specify a value for the disposeTimeout constructor parameter other than nulla null reference (Nothing in Visual Basic) or InfiniteTimeSpan.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.Diagnostics.TraceListener
      Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.AsynchronousTraceListenerWrapper

See Also

AsynchronousTraceListenerWrapper Members

Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners Namespace