SecurityException Class

The exception that is thrown when a security error is detected.

For a list of all members of this type, see SecurityException Members.


[Visual Basic]
Public Class SecurityException
   Inherits SystemException
public class SecurityException : SystemException
public __gc class SecurityException : public SystemException
class SecurityException extends SystemException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


SecurityException uses the HRESULT COR_E_SECURITY which has the value 0x8013150A.

For a list of initial property values for an instance of SecurityException, see the constructor.


Namespace: System.Security

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

SecurityException Members | System.Security Namespace | Exception | Handling and Throwing Exceptions