Jaa


TraceSourceData.TraceListeners Property

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.

Gets the collection of references to trace listeners for the trace source.

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

Syntax

'Declaration
<ConfigurationPropertyAttribute("listeners")> _
PublicReadOnlyPropertyTraceListenersAs NamedElementCollection(Of TraceListenerReferenceData)
[ConfigurationPropertyAttribute("listeners")]
public NamedElementCollection<TraceListenerReferenceData> TraceListeners { get; }
[ConfigurationPropertyAttribute(L"listeners")]
public:
property NamedElementCollection<TraceListenerReferenceData^>^ TraceListeners {
    NamedElementCollection<TraceListenerReferenceData^>^ get ();
}
publicfunction getTraceListeners () : NamedElementCollection<TraceListenerReferenceData>

See Also

TraceSourceData Class

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.