Represents the exception that is thrown when there is a security error.
Object
Exception
SystemException
SecurityException
[Visual Basic] Public Class SecurityException Inherits SystemException [C#] public class SecurityException : SystemException [C++] public __gc class SecurityException : public SystemException [JScript] public class SecurityException extends SystemException
The SecurityExcecption is the exception class that is thrown when there is an error in security.
Namespace: System.Security
Assembly: mscorlib.dll