Aborts the Request
Public Overridable Sub Abort
Dim instance As WebRequest instance.Abort()
public virtual void Abort()
public: virtual void Abort()
public function Abort()
Any attempt is made to access the method, when the method is not overridden in a descendant class.
The Abort method cancels asynchronous requests to Internet resources started with the BeginGetResponse method.
The WebRequest class is an abstract class. The actual behavior of WebRequest instances at run time is determined by the descendant class returned by the WebRequest..::.Create method. For more information about default values and exceptions, see the documentation for the descendant classes, such as HttpWebRequest and FileWebRequest.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC