SecurityException | CF 1.0, ECMA 1.0, serializable |
System.Security (mscorlib.dll) | class |
public class SecurityException : SystemException {
// Public Constructors
public SecurityException( );
public SecurityException(string message);
public SecurityException(string message, Exception inner);
public SecurityException(string message, Type type);
public SecurityException(string message, Type type, string state);
// Protected Constructors
protected SecurityException(System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context);
// Public Instance Properties
public string GrantedSet{get; }
public string PermissionState{get; }
public Type PermissionType{get; }
public string RefusedSet{get; }
// Public Instance Methods
public override void GetObjectData(// overrides Exception
System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
public override string ToString( );
// overrides Exception
}
SecurityException is thrown when code tries to
perform an action that it does not have permission to perform.
Hierarchy
System.Object
System.Exception(System.Runtime.Serialization.ISerializable)
System.SystemException
SecurityException
|