14 references to UnauthorizedAccessException
mscorlib (10)
microsoft\win32\registrykey.cs (2)
1667throw new UnauthorizedAccessException(Environment.GetResourceString("UnauthorizedAccess_RegistryKeyGeneric_Key", str)); 1706throw new UnauthorizedAccessException(Environment.GetResourceString("UnauthorizedAccess_RegistryKeyGeneric_Key", str));
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\privilegenotheldexception.cs (2)
18: base( Environment.GetResourceString( "PrivilegeNotHeld_Default" )) 23: base( string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "PrivilegeNotHeld_Named" ), privilege ))
system\throwhelper.cs (1)
115throw new UnauthorizedAccessException(Environment.GetResourceString(GetResourceName(resource)));
System.Core (1)
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));