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

SecurityException() protected method

protected SecurityException ( SerializationInfo info, StreamingContext context ) : System.Security
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System.Security
        protected SecurityException(SerializationInfo info, StreamingContext context) : base (info, context)
        {
            if (info==null)
                throw new ArgumentNullException("info");

            try
            {
                m_action = (SecurityAction)info.GetValue(ActionName, typeof(SecurityAction));
                m_permissionThatFailed = (String)info.GetValueNoThrow(FirstPermissionThatFailedName, typeof(String));
                m_demanded = (String)info.GetValueNoThrow(DemandedName, typeof(String));
                m_granted = (String)info.GetValueNoThrow(GrantedSetName, typeof(String));
                m_refused = (String)info.GetValueNoThrow(RefusedSetName, typeof(String));
                m_denied = (String)info.GetValueNoThrow(DeniedName, typeof(String));
                m_permitOnly = (String)info.GetValueNoThrow(PermitOnlyName, typeof(String));
                m_assemblyName = (AssemblyName)info.GetValueNoThrow(Assembly_Name, typeof(AssemblyName));
                m_serializedMethodInfo = (byte[])info.GetValueNoThrow(MethodName_Serialized, typeof(byte[]));
                m_strMethodInfo = (String)info.GetValueNoThrow(MethodName_String, typeof(String));
                m_zone = (SecurityZone)info.GetValue(ZoneName, typeof(SecurityZone));
                m_url = (String)info.GetValueNoThrow(UrlName, typeof(String));
            }
            catch 
            {
                m_action = 0;
                m_permissionThatFailed = "";
                m_demanded = "";
                m_granted = "";
                m_refused = "";
                m_denied = "";
                m_permitOnly = "";
                m_assemblyName = null;
                m_serializedMethodInfo = null;
                m_strMethodInfo = null;
                m_zone = SecurityZone.NoZone;
                m_url = "";
            }
        }

Same methods

SecurityException::SecurityException ( ) : System.Security
SecurityException::SecurityException ( PermissionSet grantedSetObj, PermissionSet refusedSetObj ) : 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
SecurityException::SecurityException ( string message, Object deny, Object permitOnly, MethodInfo method, Object demanded, IPermission permThatFailed ) : System.Security