mmplay

mmplay

  • NA
  • 16
  • 0

If WebRequest.Abort() before BeginGetResponse-CallBack?

Jan 22 2004 9:34 PM
Hi When I send BeginGetResponse() to the server, then WebRequest.Abort() before BeginGetResponse-CallBack, the WebReuest is correct aborted, but the BeginGetResponse-CallBack still runs a few later. So, it will get a WebException. Because cann't call EndGetResponse(EndGetResponse was called in BeginGetResponse-CallBack) after WebRequest.Abort() How to do that if WebRequest.Abort() before BeginGetResponse-CallBack? Thanks

Answers (1)