Exemplo n.º 1
0
        /// <summary>
        /// 删除监视
        /// </summary>
        /// <param name="watchUrl"></param>
        /// <param name="taskUID"></param>
        /// <returns></returns>
        public bool UnWatch(string watchUrl)
        {
            WebUtil webUtil = new WebUtil(watchUrl);

            string[] cookiesName = { "seraph.os.cookie", "JSESSIONID", "ASESSIONID" };
            webUtil.Ajax("DELETE", "application/json, text/javascript, */*",
                         "application/json", cookiesName);
            return(webUtil.Success());
        }