Beispiel #1
0
        private static void UserCallback(object o)
        {
            AsynResp ar = (AsynResp)o;

            try
            {
                ar.Callback(ar.Response);
            }
            catch
            { }
            if (ar.Response.Resp != null)
            {
                ar.Response.Resp.Close();
            }
        }
        private static void UserCallback(object o)
        {
            AsynResp ar = (AsynResp)o;

            try
            {
                ar.Callback(ar.Response);
            }
            catch (Exception e)
            {
                //LogHelper.WriteLog(typeof(HttpWebAsk), LogStatusLevel.ERROR, e.Message);
            }
            if (ar.Response.Resp != null)
            {
                ar.Response.Resp.Close();
            }
        }