WebClientAsyncResult::Abort Method ()

 

Cancels an asynchronous XML Web service request.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
void Abort()

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.

.NET Framework
Available since 1.1
Return to top
Show: