public override void GetObjectData(SerializationInfo info, StreamingContext context)
        {
            if (info == null)
            {
                throw new ArgumentNullException("info");
            }

            base.GetObjectData(info, context);
            info.AddValue("errorId", m_errorId.ToString());
        }
Beispiel #2
0
 public static string GetErrorString(JSError errorCode)
 {
     return(JScript.ResourceManager.GetString(errorCode.ToString(), JScript.Culture));
 }