Cancel an async webrequest?

前端 未结 1 1514
天涯浪人
天涯浪人 2021-01-18 03:42

I am using the Async CTP library for Windows Phone. Does anyone know how to cancel a pending webrequest?

Request = (HttpWebRequest)WebRequest.Create(url);
Re         


        
相关标签:
1条回答
  • 2021-01-18 04:27

    You could try calling Request.Abort().

    0 讨论(0)
提交回复
热议问题