System.Diagnostics.Eventing.Reader.EventLogQuery
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
{
public class EventLogQuery
{
public bool ReverseDirection { get; set; }
public EventLogSession Session { get; set; }
public bool TolerateQueryErrors { get; set; }
public EventLogQuery(string path, PathType pathType);
public EventLogQuery(string path, PathType pathType, string query);
}
}