1 write to _handle
System.Diagnostics.EventLog (1)
System\Diagnostics\Reader\EventLogWatcher.cs (1)
187
_handle
= UnsafeNativeMethods.EvtSubscribe(_eventQuery.Session.Handle,
6 references to _handle
System.Diagnostics.EventLog (6)
System\Diagnostics\Reader\EventLogWatcher.cs (6)
26
[MemberNotNullWhen(true, nameof(
_handle
))]
143
if (
_handle
!= null && !
_handle
.IsInvalid)
145
_handle
.Dispose();
149
[MemberNotNull(nameof(
_handle
))]
240
results = NativeWrapper.EvtNext(
_handle
, _eventsBuffer.Length, _eventsBuffer, 0, 0, ref _numEventsInBuffer);