Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Cancels the current HTTP request.

Script Syntax

Copy Code
oXMLHttpRequest.abort();

Remarks

Script Parameters

None.

Script Return Value

None.

C/C++ Syntax

Copy Code
HRESULT abort(
  void
);

Remarks

C/C++ Parameters

None.

C/C++ Return Values

S_OK

Value returned if successful.

E_FAIL

Value returned if an error occurs.

Requirements

Header msxml2.h, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

The request will be returned to the UNINITIALIZED state, and the open Method (IXMLHTTPRequest)must be called next.

This method applies to the following interface:

IXMLHTTPRequest

See Also