4 references to ERROR_ACCESS_DENIED
System.Diagnostics.PerformanceCounter (4)
System\Diagnostics\PerformanceCounterLib.cs (2)
1222
if (res == Interop.Errors.
ERROR_ACCESS_DENIED
)
1269
throw new Win32Exception(Interop.Errors.
ERROR_ACCESS_DENIED
);
System\Diagnostics\PerformanceDataRegistryKey.cs (1)
124
if (errorCode == Interop.Errors.
ERROR_ACCESS_DENIED
)
System\Diagnostics\SharedPerformanceCounter.cs (1)
1717
if ((Marshal.GetLastWin32Error() != Interop.Errors.
ERROR_ACCESS_DENIED
) || !_fileMappingHandle.IsInvalid)