LogEntry.Categories 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.

Category name used to route the log entry to a one or more trace listeners.

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

Syntax

'Declaration
<IgnoreMemberAttribute> _
PublicPropertyCategoriesAs ICollection(Of String)
[IgnoreMemberAttribute]
public ICollection<string> Categories { get; set; }
[IgnoreMemberAttribute]
public:
property ICollection<String^>^ Categories {
    ICollection<String^>^ get ();
    voidset (ICollection<String^>^ value);
}
publicfunction getCategories () : ICollection<String>
publicfunction setCategories (value : ICollection<String>)

See Also

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