Dela via


LogSource.Listeners 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 trace listeners for the LogSource instance.

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

Syntax

'Declaration
PublicReadOnlyPropertyListenersAs List(Of TraceListener)
public List<TraceListener> Listeners { get; }
public:
property List<TraceListener^>^ Listeners {
    List<TraceListener^>^ get ();
}
publicfunction getListeners () : List<TraceListener>

See Also

LogSource Class

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