System.Security.SecurityException.SecurityException C# (CSharp) Method

SecurityException() public method

public SecurityException ( string message, Object deny, Object permitOnly, MethodInfo method, Object demanded, IPermission permThatFailed ) : System.Security
message string
deny Object
permitOnly Object
method System.Reflection.MethodInfo
demanded Object
permThatFailed IPermission
return System.Security
        public SecurityException(string message, Object deny, Object permitOnly, MethodInfo method, Object demanded, IPermission permThatFailed)
            : base(message)
        {
            PermissionSet.s_fullTrust.Assert();
            SetErrorCode(System.__HResults.COR_E_SECURITY);
            Action = SecurityAction.Demand;
            if(permThatFailed != null)
                m_typeOfPermissionThatFailed = permThatFailed.GetType();
            FirstPermissionThatFailed = permThatFailed;
            Demanded = demanded;
            m_granted = "";
            m_refused = "";
            DenySetInstance = deny;
            PermitOnlySetInstance = permitOnly;
            m_assemblyName = null;
            Method = method;
            m_zone = SecurityZone.NoZone;
            m_url = "";
            m_debugString = this.ToString(true, false);
        }

Same methods

SecurityException::SecurityException ( ) : System.Security
SecurityException::SecurityException ( PermissionSet grantedSetObj, PermissionSet refusedSetObj ) : System.Security
SecurityException::SecurityException ( SerializationInfo info, StreamingContext context ) : System.Security
SecurityException::SecurityException ( String message ) : System.Security
SecurityException::SecurityException ( String message, Exception inner ) : System.Security
SecurityException::SecurityException ( String message, PermissionSet grantedSetObj, PermissionSet refusedSetObj ) : System.Security
SecurityException::SecurityException ( String message, Type type ) : System.Security
SecurityException::SecurityException ( String message, Type type, String state ) : System.Security
SecurityException::SecurityException ( string message, AssemblyName assemblyName, PermissionSet grant, PermissionSet refused, MethodInfo method, SecurityAction action, Object demanded, IPermission permThatFailed, Evidence evidence ) : System.Security