Table of Contents

Class XmlTraceListenerData

Namespace
Microsoft.Practices.EnterpriseLibrary.Logging.Configuration
Assembly
Microsoft.Practices.EnterpriseLibrary.Logging.dll

Represents the configuration settings that describe a XmlTraceListener.

public class XmlTraceListenerData : TraceListenerData
Inheritance
XmlTraceListenerData
Inherited Members

Constructors

XmlTraceListenerData()

Initializes a XmlTraceListenerData.

public XmlTraceListenerData()

XmlTraceListenerData(string, string)

Initializes a XmlTraceListenerData with a filename and a formatter name.

public XmlTraceListenerData(string name, string fileName)

Parameters

name string

The name for the configuration object.

fileName string

The file name.

Properties

FileName

Gets and sets the file name.

public string FileName { get; set; }

Property Value

string

Methods

CoreBuildTraceListener(LoggingSettings)

Builds the TraceListener object represented by this configuration object.

protected override TraceListener CoreBuildTraceListener(LoggingSettings settings)

Parameters

settings LoggingSettings

The logging configuration settings.

Returns

TraceListener

An XmlTraceListener.