1 write to Session
System.Diagnostics.EventLog (1)
System\Diagnostics\Reader\EventLogQuery.cs (1)
22
Session
= EventLogSession.GlobalSession;
6 references to Session
System.Diagnostics.EventLog (6)
System\Diagnostics\Reader\EventLogReader.cs (3)
73
_cachedMetadataInformation = new ProviderMetadataCachedInformation(eventQuery.
Session
, logfile, 50);
98
_handle = NativeWrapper.EvtQuery(_eventQuery.
Session
.Handle,
174
EventLogRecord eventInstance = new EventLogRecord(new EventLogHandle(_eventsBuffer[_currentIndex], true), _eventQuery.
Session
, _cachedMetadataInformation);
System\Diagnostics\Reader\EventLogWatcher.cs (3)
74
cachedMetadataInformation = new ProviderMetadataCachedInformation(eventQuery.
Session
, null, 50);
187
_handle = UnsafeNativeMethods.EvtSubscribe(_eventQuery.
Session
.Handle,
278
EventLogRecord record = new EventLogRecord(new EventLogHandle(_eventsBuffer[i], true), _eventQuery.
Session
, cachedMetadataInformation);