UnauthorizedAccessException Class
Assembly: mscorlib (in mscorlib.dll)
'Declaration <SerializableAttribute> _ <ComVisibleAttribute(True)> _ Public Class UnauthorizedAccessException Inherits SystemException 'Usage Dim instance As UnauthorizedAccessException
/** @attribute SerializableAttribute() */ /** @attribute ComVisibleAttribute(true) */ public class UnauthorizedAccessException extends SystemException
SerializableAttribute ComVisibleAttribute(true) public class UnauthorizedAccessException extends SystemException
Not applicable.
The reasons for the exception can be found in the details of the exception object. How to: Use the Exception Assistant
How to: Use the Exception Assistant
How to: Use the Exception Assistant
How to: Use the Exception Assistant
UnauthorizedAccessException uses the HRESULT COR_E_UNAUTHORIZEDACCESS, which has the value 0x80070005.
System.Exception
System.SystemException
System.UnauthorizedAccessException
System.Security.AccessControl.PrivilegeNotHeldException
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.