Partager via


LoggingSettings.TraceSources 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 TraceSourceData configuration elements that define the available LogSources.

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

Syntax

'Declaration
<ConfigurationPropertyAttribute("categorySources")> _
PublicReadOnlyPropertyTraceSourcesAs NamedElementCollection(Of TraceSourceData)
[ConfigurationPropertyAttribute("categorySources")]
public NamedElementCollection<TraceSourceData> TraceSources { get; }
[ConfigurationPropertyAttribute(L"categorySources")]
public:
property NamedElementCollection<TraceSourceData^>^ TraceSources {
    NamedElementCollection<TraceSourceData^>^ get ();
}
publicfunction getTraceSources () : NamedElementCollection<TraceSourceData>

See Also

LoggingSettings 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.