The exception that is thrown when a security error is detected.
<SerializableAttribute> _ <ComVisibleAttribute(True)> _ Public Class SecurityException _ Inherits SystemException
[SerializableAttribute] [ComVisibleAttribute(true)] public class SecurityException : SystemException
[SerializableAttribute] [ComVisibleAttribute(true)] public ref class SecurityException : public SystemException
[<SerializableAttribute>] [<ComVisibleAttribute(true)>] type SecurityException = class inherit SystemException end
The SecurityException type exposes the following members.
SecurityException uses the HRESULT COR_E_SECURITY, which has the value 0x8013150A.
For a list of the initial property values for an instance of the SecurityException class, see a specific SecurityException constructor.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2