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()); }
public static string GetErrorString(JSError errorCode) { return(JScript.ResourceManager.GetString(errorCode.ToString(), JScript.Culture)); }