1 instantiation of EventLogSession
System.Diagnostics.EventLog (1)
System\Diagnostics\Reader\EventLogSession.cs (1)
157
private 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)
48
private readonly
EventLogSession
_session;
52
public EventLogConfiguration(string logName,
EventLogSession
? session)
54
session ??=
EventLogSession
.GlobalSession;
System\Diagnostics\Reader\EventLogInformation.cs (1)
14
internal EventLogInformation(
EventLogSession
session, string channelName, PathType pathType)
System\Diagnostics\Reader\EventLogQuery.cs (2)
22
Session =
EventLogSession
.GlobalSession;
37
public
EventLogSession
Session { get; set; }
System\Diagnostics\Reader\EventLogRecord.cs (2)
12
private readonly
EventLogSession
_session;
34
internal EventLogRecord(EventLogHandle handle,
EventLogSession
session, ProviderMetadataCachedInformation cachedMetadataInfo)
System\Diagnostics\Reader\EventLogSession.cs (2)
157
private static readonly
EventLogSession
s_globalSession = new EventLogSession();
158
public static
EventLogSession
GlobalSession
System\Diagnostics\Reader\ProviderMetadata.cs (4)
26
private readonly
EventLogSession
_session;
51
public ProviderMetadata(string providerName,
EventLogSession
? session, CultureInfo? targetCultureInfo)
56
internal ProviderMetadata(string providerName,
EventLogSession
? session, CultureInfo? targetCultureInfo, string? logFilePath)
59
session ??=
EventLogSession
.GlobalSession;
System\Diagnostics\Reader\ProviderMetadataCachedInformation.cs (2)
21
private readonly
EventLogSession
_session;
64
public ProviderMetadataCachedInformation(
EventLogSession
session, string? logfile, int maximumCacheSize)