EventDataType Complex Type

Defines the event data items and structures that contains the event data.

<xs:complexType name="EventDataType">
    <xs:sequence>
        <xs:choice
            minOccurs="0"
            maxOccurs="unbounded"
        >
            <xs:element name="Data"
                type="DataType"
             />
            <xs:element name="ComplexData"
                type="ComplexDataType"
             />
        </xs:choice>
        <xs:element name="Binary"
            type="hexBinary"
            minOccurs="0"
         />
    </xs:sequence>
    <xs:attribute name="Name"
        type="string"
        use="optional"
     />
</xs:complexType>

Child elements

Element Type Description
Binary hexBinary A binary data blob for events that are written using Event Logging.
ComplexData ComplexDataType A structure that is defined in the template for the event.
Data DataType A top-level data item that is defined in the template for the event.

Attributes

Name Type Description
Name string The name of the template that contains the data items.

Remarks

The EvtRender function renders arrays and structures as binary blobs.

Requirements

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