Share via


TraceListenerData.Filter 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.

The latest Enterprise Library information can be found at the Enterprise Library site.

Gets or sets the Filter for the represented TraceListener

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

Syntax

'Declaration
<ConfigurationPropertyAttribute("filter", IsRequired := False, DefaultValue := SourceLevels.All)> _
Public Property Filter As SourceLevels
[ConfigurationPropertyAttribute("filter", IsRequired = false, DefaultValue = SourceLevels.All)]
public SourceLevels Filter { get; set; }
[ConfigurationPropertyAttribute(L"filter", IsRequired = false, DefaultValue = SourceLevels::All)]
public:
property SourceLevels Filter {
    SourceLevels get ();
    void set (SourceLevels value);
}
public function get Filter () : SourceLevels
public function set Filter (value : SourceLevels)

See Also

TraceListenerData Class

Microsoft.Practices.EnterpriseLibrary.Logging.Configuration Namespace