Example #1
0
 /// <summary> 取消网络请求 </summary>
 public void Cancel()
 {
     lock (mLockObj)
     {
         HttpTaskUtil.Abort(mHttpWebRequest);
         TaskHelper.CancelWorker(mWorker);
     }
 }