WebClientAsyncResult.Abort Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Cancels an asynchronous XML Web service request.
public:
void Abort();
public void Abort ();
member this.Abort : unit -> unit
Public Sub Abort ()
Examples
The XML Web service request is canceled if the underlying transport supports the WebRequest.Abort method. If the corresponding End
method is subsequently called after the Abort method, a WebException is thrown, setting the Status property to RequestCanceled.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.