This documentation is archived and is not being maintained.
WebClientAsyncResult.Abort Method
.NET Framework 1.1
Cancels an asynchronous XML Web service request.
[Visual Basic] Public Sub Abort() [C#] public void Abort(); [C++] public: void Abort(); [JScript] public function Abort();
Example
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.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
See Also
WebClientAsyncResult Class | WebClientAsyncResult Members | System.Web.Services.Protocols Namespace
Show: