Article 12/11/2020
3 contributors
Feedback
In this article
Defines the metadata types that you can define in the metadata section of the manifest.
<xs:complexType name="MetadataType">
<xs:sequence>
<xs:element name="channels"
type="ChannelListType"
/>
<xs:element name="levels"
type="LevelListType"
/>
<xs:element name="tasks"
type="TaskListType"
/>
<xs:element name="opcodes"
type="OpcodeListType"
minOccurs="0"
/>
<xs:element name="keywords"
type="KeywordListType"
minOccurs="0"
/>
<xs:element name="types"
type="TypeListType"
minOccurs="0"
/>
<xs:element name="namedQueries"
type="NamedQueryType"
minOccurs="0"
/>
<xs:element name="messageTable"
minOccurs="0"
>
<xs:complexType>
<xs:sequence>
<xs:element name="message"
minOccurs="0"
maxOccurs="unbounded"
>
<xs:complexType>
<xs:attribute name="value"
type="UInt32Type"
use="required"
/>
<xs:attribute name="mid"
type="xs:string"
use="optional"
/>
<xs:attribute name="message"
type="strTableRef"
use="required"
/>
<xs:attribute name="symbol"
type="CSymbolType"
use="optional"
/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:any
processContents="lax"
minOccurs="0"
maxOccurs="unbounded"
namespace="##other"
/>
</xs:sequence>
<xs:attribute name="name"
type="anyURI"
use="required"
/>
<xs:anyAttribute
processContents="lax"
namespace="##other"
/>
</xs:complexType>
Child elements
Element
Type
Description
channels
ChannelListType
Defines a list of channels to which providers can log events. A provider can then import one or more of the channels in their manifest.
keywords
KeywordListType
Defines a list of keywords that determine the category of events that the provider writes.
levels
LevelListType
Defines a list of levels that specify the severity of an event.
message
Defines a message string.
messageTable
Defines a list of message strings.
namedQueries
NamedQueryType
Defines a list of named queries that use regular expressions to perform find and replace actions on an event's message string.
opcodes
OpcodeListType
Defines a list of opcodes that you can use to group events within a task.
tasks
TaskListType
Defines a list of tasks that a provider can use to group events. Typically, you use tasks to group events for a feature or component of the provider.
types
TypeListType
Defines a list of XML types.
Attributes
Name
Type
Description
message
strTableRef
A reference to the localized string in the string table.
mid
xs:string
Not used.
name
anyURI
The URI of the meta file.
symbol
CSymbolType
The symbolic name that you want the message compiler to create for this message string.
value
UInt32Type
The number to use as the message identifier for this message.
Although you can create a manifest that contains a metadata section, the service will not use it; the only metadata that the service recognizes is the metadata found in the Winmeta.xml file.
Requirements
Requirement
Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]