示例#1
0
 public void Abort()
 {
     if (RequestFactory != null)
     {
         RequestFactory.Abort();
         RequestFactory = null;
     }
     tokenSource.Cancel();             // abort completely.
     Aborted = true;
 }