System.Diagnostics.Eventing.Reader.EventLogConfiguration
Contains static information and configuration settings for an event log. Many of the configurations settings were defined by the event provider that created the log.
namespace System.Diagnostics.Eventing.Reader
{
public class EventLogConfiguration : IDisposable
{
public bool IsClassicLog { get; }
public bool IsEnabled { get; set; }
public string LogFilePath { get; set; }
public EventLogIsolation LogIsolation { get; }
public EventLogMode LogMode { get; set; }
public string LogName { get; }
public EventLogType LogType { get; }
public long MaximumSizeInBytes { get; set; }
public string OwningProviderName { get; }
public int? ProviderBufferSize { get; }
public Guid? ProviderControlGuid { get; }
public long? ProviderKeywords { get; set; }
public int? ProviderLatency { get; }
public int? ProviderLevel { get; set; }
public int? ProviderMaximumNumberOfBuffers { get; }
public int? ProviderMinimumNumberOfBuffers { get; }
public IEnumerable<string> ProviderNames { get; }
public string SecurityDescriptor { get; set; }
public EventLogConfiguration(string logName);
public EventLogConfiguration(string logName, EventLogSession session);
public void Dispose();
protected virtual void Dispose(bool disposing);
public void SaveChanges();
}
}