Επεξεργασία

Κοινή χρήση μέσω


EventManifest Schema

The EventManifest schema defines the following elements and types that you use to write an instrumentation manifest:

The elements section contains the names of the elements that you use in your manifest; however, to get the details for each element, see the complex type that contains the element.

An instrumentation manifest is an XML file that defines an event provider, the channels to which the events are written, the events themselves, the event filtering criteria such as levels, tasks, and opcodes, and the localized strings used when rendering the events. The convention is to use .man as the extension for manifest files. For details on writing a manifest, see Writing an Instrumentation Manifest.

The Windows SDK includes the schema in the \Include\Eventman.xsd file. You can use the XSD to validate your manifest.

In addition to the EventManifest schema, Windows Event Log also defines the following schemas:

  • Event Schema—defines the elements and types used to render an event.
  • Query Schema—defines the elements and types used to write a query to retrieve events from one or more channels.