Share via


RollingXmlWriterTraceListener Class

An XML trace listener that rolls over to a new trace file when a certain size limit is reached. The older file is deleted as well to not run out of disk space.

Example: file_0003 full, file_0004 started, file_0002 deleted. The configured max file length means that the maximum used space is not more than twice that value.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.Diagnostics
Assembly:  Microsoft.Dynamics.Commerce.Runtime (in Microsoft.Dynamics.Commerce.Runtime.dll)

Syntax

'Declaration
Public Class RollingXmlWriterTraceListener _
    Inherits XmlWriterTraceListener
'Usage
Dim instance As RollingXmlWriterTraceListener
public class RollingXmlWriterTraceListener : XmlWriterTraceListener
public ref class RollingXmlWriterTraceListener : public XmlWriterTraceListener

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.Diagnostics.TraceListener
      System.Diagnostics.TextWriterTraceListener
        System.Diagnostics.XmlWriterTraceListener
          Microsoft.Dynamics.Commerce.Runtime.Diagnostics.RollingXmlWriterTraceListener

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Dynamics.Commerce.Runtime.Diagnostics Namespace