1 instantiation of EventLogSession
System.Diagnostics.EventLog (1)
System\Diagnostics\Reader\EventLogSession.cs (1)
157private static readonly EventLogSession s_globalSession = new EventLogSession();
17 references to EventLogSession
System.Core (1)
System.Core.cs (1)
41[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.EventLogSession))]
System.Diagnostics.EventLog (16)
System\Diagnostics\Reader\EventLogConfiguration.cs (3)
48private readonly EventLogSession _session; 52public EventLogConfiguration(string logName, EventLogSession? session) 54session ??= EventLogSession.GlobalSession;
System\Diagnostics\Reader\EventLogInformation.cs (1)
14internal EventLogInformation(EventLogSession session, string channelName, PathType pathType)
System\Diagnostics\Reader\EventLogQuery.cs (2)
22Session = EventLogSession.GlobalSession; 37public EventLogSession Session { get; set; }
System\Diagnostics\Reader\EventLogRecord.cs (2)
12private readonly EventLogSession _session; 34internal EventLogRecord(EventLogHandle handle, EventLogSession session, ProviderMetadataCachedInformation cachedMetadataInfo)
System\Diagnostics\Reader\EventLogSession.cs (2)
157private static readonly EventLogSession s_globalSession = new EventLogSession(); 158public static EventLogSession GlobalSession
System\Diagnostics\Reader\ProviderMetadata.cs (4)
26private readonly EventLogSession _session; 51public ProviderMetadata(string providerName, EventLogSession? session, CultureInfo? targetCultureInfo) 56internal ProviderMetadata(string providerName, EventLogSession? session, CultureInfo? targetCultureInfo, string? logFilePath) 59session ??= EventLogSession.GlobalSession;
System\Diagnostics\Reader\ProviderMetadataCachedInformation.cs (2)
21private readonly EventLogSession _session; 64public ProviderMetadataCachedInformation(EventLogSession session, string? logfile, int maximumCacheSize)