SecurityException Constructor
Initializes a new instance of the SecurityException class.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | SecurityException() | Initializes a new instance of the SecurityException class with default properties. |
![]() | SecurityException(SerializationInfo^, StreamingContext) | Initializes a new instance of the SecurityException class with serialized data. |
![]() | SecurityException(String^) | Initializes a new instance of the SecurityException class with a specified error message. |
![]() | SecurityException(String^, AssemblyName^, PermissionSet^, PermissionSet^, MethodInfo^, SecurityAction, Object^, IPermission^, Evidence^) | Initializes a new instance of the SecurityException class for an exception caused by an insufficient grant set. |
![]() | SecurityException(String^, Exception^) | Initializes a new instance of the SecurityException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
![]() | SecurityException(String^, Object^, Object^, MethodInfo^, Object^, IPermission^) | Initializes a new instance of the SecurityException class for an exception caused by a Deny on the stack. |
![]() | SecurityException(String^, Type^) | Initializes a new instance of the SecurityException class with a specified error message and the permission type that caused the exception to be thrown. |
![]() | SecurityException(String^, Type^, String^) | Initializes a new instance of the SecurityException class with a specified error message, the permission type that caused the exception to be thrown, and the permission state. |
For an example of the use of a SecurityException constructor, see the example provided for the SecurityException(String^, Object^, Object^, MethodInfo^, Object^, IPermission^) constructor.

