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