SecurityException Constructor (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.
Assembly: mscorlib (in mscorlib.dll)
Legacy Code Example
For an example of the use of a SecurityException constructor, see the example provided for the SecurityException(String, Object, Object, MethodInfo, Object, IPermission) constructor.
Available since 1.1