HttpWebClientProtocol.CancelAsync(Object) 方法
定义
取消对 XML Web services 方法的异步调用,除非已完成该调用。Cancels an asynchronous call to an XML Web service method, unless the call has already completed.
protected:
void CancelAsync(System::Object ^ userState);
protected void CancelAsync (object userState);
member this.CancelAsync : obj -> unit
Protected Sub CancelAsync (userState As Object)
参数
- userState
- Object
在对 Begin 方法的异步调用的最后一个参数中提供的对象。The object provided in the last parameter to the asynchronous call of the Begin method.