SecurityException

SecurityExceptionCF 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



Programming. NET Security
Programming .Net Security
ISBN: 0596004427
EAN: 2147483647
Year: 2005
Pages: 346

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net