DefinitionType Complex Type

Defines a list of events that your provider can log.

<xs:complexType name="DefinitionType">
    <xs:choice
        minOccurs="0"
        maxOccurs="unbounded"
    >
        <xs:element name="event"
            type="EventDefinitionType"
         />
        <xs:element name="task"
            type="TaskEventDefinitionType"
         />
    </xs:choice>
</xs:complexType>

Child elements

Element Type Description
event EventDefinitionType Defines an event that your provider can log.
task TaskEventDefinitionType Not supported.
Windows Server 2008 and Windows Vista: Defines a task-specific event that your provider can log. (Beginning with the message compiler that ships with the Windows 7 version of the Windows SDK, task-specific events are no longer supported.)

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]