Windows Event Log Reference

The following are the programming elements that you use to create an instrumentation manifest, create resources from the manifest that your provider uses, get instrumentation metadata at run time, and query events from channels and log files:

For applications written using a .NET language, such as C# or Visual Basic, see the following namespaces:

As an alternative to using the System.Diagnostics.Eventing namespace to write events, you can use the -cs or -css argument to have the message compiler generate the code to write the events. For details, see Message Compiler.