System.Diagnostics.Eventing.Reader.StandardEventOpcode
namespace System.Diagnostics.Eventing.Reader
{
public enum StandardEventOpcode
{
Info = 0,
Start = 1,
Stop = 2,
DataCollectionStart = 3,
DataCollectionStop = 4,
Extension = 5,
Reply = 6,
Resume = 7,
Suspend = 8,
Send = 9,
Receive = 240
}
}
namespace System.Diagnostics.Eventing.Reader
{
public class EventLogReader : IDisposable
{
public int BatchSize { get; set; }
public IList<EventLogStatus> LogStatus { get; }
public EventLogReader(EventLogQuery eventQuery);
public EventLogReader(EventLogQuery eventQuery, EventBookmark bookmark);
public EventLogReader(string path);
public EventLogReader(string path, PathType pathType);
public void CancelReading();
public void Dispose();
protected virtual void Dispose(bool disposing);
public EventRecord ReadEvent();
public EventRecord ReadEvent(TimeSpan timeout);
public void Seek(EventBookmark bookmark);
public void Seek(EventBookmark bookmark, long offset);
public void Seek(SeekOrigin origin, long offset);
}
}