Mono Class Library: System.Security Namespace

System.Security.SecurityException Class

Represents the error that occurs when an application does not have the permissions required to access a resource or perform a secured operation. [Edit]

See Also: SecurityException Members

System.Object
     System.Exception
          System.SystemException
               System.Security.SecurityException

[System.Runtime.InteropServices.ComVisible(true)]
public class SecurityException : SystemException

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

Note:

For more information about permissions and security, see Partition V of the CLI specification.

The following CIL instructions throw System.Security.SecurityException:

  • call
  • calli
  • callvirt
[Edit]

Requirements

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0