1 type derived from UnauthorizedAccessException
mscorlib (1)
system\security\accesscontrol\privilegenotheldexception.cs (1)
13public sealed class PrivilegeNotHeldException : UnauthorizedAccessException, ISerializable
32 instantiations of UnauthorizedAccessException
mscorlib (24)
microsoft\win32\registrykey.cs (4)
1667throw new UnauthorizedAccessException(Environment.GetResourceString("UnauthorizedAccess_RegistryKeyGeneric_Key", str)); 1669throw new UnauthorizedAccessException(); 1706throw new UnauthorizedAccessException(Environment.GetResourceString("UnauthorizedAccess_RegistryKeyGeneric_Key", str)); 1708throw new UnauthorizedAccessException();
system\io\__error.cs (2)
155throw new UnauthorizedAccessException(Environment.GetResourceString("UnauthorizedAccess_IODenied_NoPathName")); 157throw new UnauthorizedAccessException(Environment.GetResourceString("UnauthorizedAccess_IODenied_Path", str));
system\io\driveinfo.cs (1)
272throw new UnauthorizedAccessException(Environment.GetResourceString("InvalidOperation_SetVolumeLabelFailed"));
system\io\memorystream.cs (1)
216throw new UnauthorizedAccessException(Environment.GetResourceString("UnauthorizedAccess_MemStreamBuffer"));
system\io\unmanagedmemorystreamwrapper.cs (1)
66throw new UnauthorizedAccessException(Environment.GetResourceString("UnauthorizedAccess_MemStreamBuffer"));
system\security\accesscontrol\nativeobjectsecurity.cs (2)
136exception = new UnauthorizedAccessException(); 281exception = new UnauthorizedAccessException();
system\security\accesscontrol\privilege.cs (4)
129throw new UnauthorizedAccessException(); 310throw new UnauthorizedAccessException(); 575throw new UnauthorizedAccessException(); 665throw new UnauthorizedAccessException();
system\security\accesscontrol\win32.cs (2)
179throw new UnauthorizedAccessException(); 350throw new UnauthorizedAccessException();
system\security\cryptography\utils.cs (2)
273throw new UnauthorizedAccessException(); 324throw new UnauthorizedAccessException();
system\security\principal\ntaccount.cs (1)
335throw new UnauthorizedAccessException();
system\security\principal\sid.cs (1)
987throw new UnauthorizedAccessException();
system\security\principal\win32.cs (1)
142throw new UnauthorizedAccessException();
system\security\principal\windowsidentity.cs (1)
837return new UnauthorizedAccessException();
system\throwhelper.cs (1)
115throw new UnauthorizedAccessException(Environment.GetResourceString(GetResourceName(resource)));
System.Core (2)
System\Diagnostics\Eventing\Reader\EventLogException.cs (1)
46throw new UnauthorizedAccessException();
System\IO\__Error.cs (1)
176throw new UnauthorizedAccessException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.UnauthorizedAccess_IODenied_Path), str));
System.Web.DataVisualization (3)
WebForm\General\ChartHttpHandler.cs (3)
242throw new UnauthorizedAccessException(SR.ExceptionHttpHandlerTempDirectoryUnaccesible(Settings.Directory)); 931throw new UnauthorizedAccessException(SR.ExceptionHttpHandlerInvalidLocation); 1262throw new UnauthorizedAccessException(SR.ExceptionHttpHandlerTempDirectoryUnaccesible(fileDirectory));
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\Accessible.cs (1)
1428throw new UnauthorizedAccessException();
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
995throw new UnauthorizedAccessException();
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
552throw new UnauthorizedAccessException();
53 references to UnauthorizedAccessException
mscorlib (8)
system\cfgparser.cs (1)
290catch(UnauthorizedAccessException) {
system\globalization\japanesecalendar.cs (1)
210catch (System.UnauthorizedAccessException)
system\io\directory.cs (1)
419catch (UnauthorizedAccessException)
system\io\file.cs (1)
451catch (UnauthorizedAccessException) { }
system\io\longpath.cs (2)
309catch(UnauthorizedAccessException) {} 922catch (UnauthorizedAccessException)
system\resources\resourcewriter.cs (1)
366catch (UnauthorizedAccessException) {
system\security\claims\ClaimsIdentity.cs (1)
264catch (UnauthorizedAccessException)
PresentationCore (1)
Core\CSharp\System\Windows\Media\FontFamily.cs (1)
573catch (UnauthorizedAccessException)
PresentationFramework (2)
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
383/// <exception cref="UnauthorizedAccessException">stream cannot be written to</exception>
src\Framework\System\Windows\Interop\BrowserInteropHelper.cs (1)
110catch (UnauthorizedAccessException)
System (8)
compmod\system\diagnostics\TextWriterTraceListener.cs (1)
232catch (UnauthorizedAccessException ) {
net\System\Net\_DigestClient.cs (1)
757catch (UnauthorizedAccessException e) {
net\System\Net\HttpSysSettings.cs (1)
87catch (UnauthorizedAccessException e)
net\System\Net\HybridWebProxyFinder.cs (1)
129catch (UnauthorizedAccessException)
net\System\Net\Internal.cs (1)
768catch (UnauthorizedAccessException e)
net\System\Net\NetRegistryConfiguration.cs (1)
135catch (UnauthorizedAccessException) { }
services\monitoring\system\diagnosticts\EventLog.cs (1)
912catch (UnauthorizedAccessException) {
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (1)
1198catch (UnauthorizedAccessException) {
System.Activities (1)
System\Activities\Debugger\Symbol\SymbolHelper.cs (1)
110catch (UnauthorizedAccessException)
System.Configuration (1)
System\Configuration\Internal\WriteFileContext.cs (1)
172catch ( UnauthorizedAccessException ) {
System.Core (2)
System\Diagnostics\EventSchemaTraceListener.cs (1)
668catch (UnauthorizedAccessException ) {
System\IO\LogStream.cs (1)
417catch (UnauthorizedAccessException ) {
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
232catch (System.UnauthorizedAccessException ex)
System.Data.Entity.Design (2)
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
365catch (System.UnauthorizedAccessException ex)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
140catch (System.UnauthorizedAccessException ex)
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
299catch (System.UnauthorizedAccessException ex)
System.Drawing (1)
commonui\System\Drawing\Image.cs (1)
444catch (UnauthorizedAccessException) {
System.Net (1)
net\PeerToPeer\UnsafePeerToPeerMethods.cs (1)
315catch (UnauthorizedAccessException e) {
System.ServiceModel (1)
System\ServiceModel\Diagnostics\PerformanceCountersFactory.cs (1)
188catch (UnauthorizedAccessException)
System.Web (6)
Configuration\RemoteWebConfigurationHostServer.cs (1)
299} catch (UnauthorizedAccessException) {
DataAccess\SqlConnectionHelper.cs (1)
253if (e is UnauthorizedAccessException)
ErrorFormatter.cs (1)
914if (_initialException is UnauthorizedAccessException) {
HttpException.cs (1)
202else if (e is UnauthorizedAccessException) {
Management\WebEvents.cs (1)
355else if (e is UnauthorizedAccessException) {
UI\Util.cs (1)
198catch (UnauthorizedAccessException) {
System.Web.DataVisualization (2)
WebForm\ChartWebControl.cs (1)
3224catch (UnauthorizedAccessException) { }
WebForm\General\ChartHttpHandler.cs (1)
1255catch (UnauthorizedAccessException exception)
System.Web.Extensions (1)
UI\PageRequestManager.cs (1)
237else if (e is UnauthorizedAccessException) {
System.Windows.Forms (1)
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (1)
1145catch (UnauthorizedAccessException)
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\CompileXomlTask.cs (1)
503catch (UnauthorizedAccessException)
System.Xml (1)
System\Xml\Serialization\Compiler.cs (1)
218catch (UnauthorizedAccessException) {
WindowsBase (1)
Shared\MS\Win32\SafeNativeMethodsCLR.cs (1)
579/// <exception cref="UnauthorizedAccessException">The application does not have sufficient priviliges</exception>
WsatConfig (4)
Configuration\FirewallWrapper.cs (2)
90catch (UnauthorizedAccessException e) 121catch (UnauthorizedAccessException)
Configuration\MsdtcWrapper.cs (1)
155catch (UnauthorizedAccessException e)
Configuration\StdRegProviderWrapper.cs (1)
385catch (UnauthorizedAccessException e)
WsatUI (6)
Configuration\FirewallWrapper.cs (2)
90catch (UnauthorizedAccessException e) 121catch (UnauthorizedAccessException)
Configuration\MsdtcWrapper.cs (1)
155catch (UnauthorizedAccessException e)
Configuration\RegistryHelper.cs (2)
74catch (UnauthorizedAccessException e) 118catch (UnauthorizedAccessException e)
Configuration\StdRegProviderWrapper.cs (1)
385catch (UnauthorizedAccessException e)