14 references to UnauthorizedAccessException
mscorlib (10)
microsoft\win32\registrykey.cs (2)
1667
throw new
UnauthorizedAccessException
(Environment.GetResourceString("UnauthorizedAccess_RegistryKeyGeneric_Key", str));
1706
throw new
UnauthorizedAccessException
(Environment.GetResourceString("UnauthorizedAccess_RegistryKeyGeneric_Key", str));
system\io\__error.cs (2)
155
throw new
UnauthorizedAccessException
(Environment.GetResourceString("UnauthorizedAccess_IODenied_NoPathName"));
157
throw new
UnauthorizedAccessException
(Environment.GetResourceString("UnauthorizedAccess_IODenied_Path", str));
system\io\driveinfo.cs (1)
272
throw new
UnauthorizedAccessException
(Environment.GetResourceString("InvalidOperation_SetVolumeLabelFailed"));
system\io\memorystream.cs (1)
216
throw new
UnauthorizedAccessException
(Environment.GetResourceString("UnauthorizedAccess_MemStreamBuffer"));
system\io\unmanagedmemorystreamwrapper.cs (1)
66
throw new
UnauthorizedAccessException
(Environment.GetResourceString("UnauthorizedAccess_MemStreamBuffer"));
system\security\accesscontrol\privilegenotheldexception.cs (2)
18
:
base
( Environment.GetResourceString( "PrivilegeNotHeld_Default" ))
23
:
base
( string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "PrivilegeNotHeld_Named" ), privilege ))
system\throwhelper.cs (1)
115
throw new
UnauthorizedAccessException
(Environment.GetResourceString(GetResourceName(resource)));
System.Core (1)
System\IO\__Error.cs (1)
176
throw new
UnauthorizedAccessException
(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.UnauthorizedAccess_IODenied_Path), str));
System.Web.DataVisualization (3)
WebForm\General\ChartHttpHandler.cs (3)
242
throw new
UnauthorizedAccessException
(SR.ExceptionHttpHandlerTempDirectoryUnaccesible(Settings.Directory));
931
throw new
UnauthorizedAccessException
(SR.ExceptionHttpHandlerInvalidLocation);
1262
throw new
UnauthorizedAccessException
(SR.ExceptionHttpHandlerTempDirectoryUnaccesible(fileDirectory));