FilterType Complex Type
Article 12/11/2020
3 contributors
Feedback
In this article
Defines a data filter that a session uses to filter events based on event data.
<xs:complexType name="FilterType">
<xs:simpleContent>
<xs:extension
base="string"
>
<xs:attribute name="value"
type="UInt8Type"
use="required"
/>
<xs:attribute name="version"
type="UInt8Type"
use="optional"
/>
<xs:attribute name="name"
type="QName"
use="required"
/>
<xs:attribute name="symbol"
type="CSymbolType"
use="optional"
/>
<xs:attribute name="message"
type="strTableRef"
use="optional"
/>
<xs:attribute name="tid"
type="token"
use="optional"
/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
Attributes
Name
Type
Description
message
strTableRef
The localized description for the filter. The message string references a localized string in the stringTable section of the manifest.
name
QName
A name that identifies the filter.
symbol
CSymbolType
The symbol to use to reference the filter in your application. The Message Compiler (MC.exe) uses the symbol to create a constant for the filter in the header file that the compiler generates.
tid
token
A template identifier that describes the filter data that the session passes to the provider when it enables the provider.
value
UInt8Type
An integer value that uniquely identifies the filter within the list of filters that you define.
version
UInt8Type
An integer value that identifies this version of the filter. If not specified, the value is zero.
Requirements
Requirement
Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]