1 write to Session
System.Diagnostics.EventLog (1)
System\Diagnostics\Reader\EventLogQuery.cs (1)
22Session = 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, 174EventLogRecord eventInstance = new EventLogRecord(new EventLogHandle(_eventsBuffer[_currentIndex], true), _eventQuery.Session, _cachedMetadataInformation);
System\Diagnostics\Reader\EventLogWatcher.cs (3)
74cachedMetadataInformation = new ProviderMetadataCachedInformation(eventQuery.Session, null, 50); 187_handle = UnsafeNativeMethods.EvtSubscribe(_eventQuery.Session.Handle, 278EventLogRecord record = new EventLogRecord(new EventLogHandle(_eventsBuffer[i], true), _eventQuery.Session, cachedMetadataInformation);