This documentation is archived and is not being maintained.

EventLogQuery Class

Represents a query for events in an event log and the settings that define how the query is executed and on what computer the query is executed on.

Namespace:  System.Diagnostics.Eventing.Reader
Assembly:  System.Core (in System.Core.dll)

'Declaration
Public Class EventLogQuery
'Usage
Dim instance As EventLogQuery

System.Object
  System.Diagnostics.Eventing.Reader.EventLogQuery

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: