Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SecurityException Constructor

Initializes a new instance of the SecurityException class.

Name Description
SecurityException () Initializes a new instance of the SecurityException class with default properties.

Supported by the .NET Compact Framework.

SecurityException (String) Initializes a new instance of the SecurityException class with a specified error message.

Supported by the .NET Compact Framework.

SecurityException (SerializationInfo, StreamingContext) Initializes a new instance of the SecurityException class with serialized data.
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.

Supported by the .NET Compact Framework.

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.
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, 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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft