Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在制作一个使用 RestSharp 下载一些数据的 wp7 应用程序。我注意到应用程序指南要求我提供一个允许用户取消数据传输的 ui 元素。是否可以在休息时取消 ExecuteAsync 请求?
ExecuteAsync()返回一个可以调用RestRequestAsyncHandle的方法来终止请求。Abort()
ExecuteAsync()
RestRequestAsyncHandle
Abort()