Share via


TraceListenerData Class

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.

Represents the configuration for a TraceListener.

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

Syntax

'Declaration
PublicClassTraceListenerData _
    Inherits NameTypeConfigurationElement
publicclassTraceListenerData : NameTypeConfigurationElement
publicref classTraceListenerData : public NameTypeConfigurationElement
publicclass TraceListenerData extends NameTypeConfigurationElement

Remarks

Since trace listeners are not under our control, the building mechanism can't rely on annotations to the trace listeners to determine the concrete TraceListenerData subtype when deserializing. Because of this, the schema for TraceListenerData includes the actual type of the instance to build.

Inheritance Hierarchy

System.Object
  System.Configuration.ConfigurationElement
    Microsoft.Practices.EnterpriseLibrary.Common.Configuration.NamedConfigurationElement
      Microsoft.Practices.EnterpriseLibrary.Common.Configuration.NameTypeConfigurationElement
        Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.TraceListenerData
          Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.BasicCustomTraceListenerData
          Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.EmailTraceListenerData
          Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FlatFileTraceListenerData
          Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData
          Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.MsmqTraceListenerData
          Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData
          Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.WmiTraceListenerData
          Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.XmlTraceListenerData
          Microsoft.Practices.EnterpriseLibrary.Logging.Database.Configuration.FormattedDatabaseTraceListenerData

See Also

TraceListenerData Members

Microsoft.Practices.EnterpriseLibrary.Logging.Configuration 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.