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

This method aborts an asynchronous download in progress.

Note:
Only operating systems (OSs) that include the Windows Internet API (WinInet) and URL Moniker Services (URLMON) support this method.

Script Syntax

Copy Code
oXMLDOMDocument.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 Value

S_OK

Returned if the method is successful.

C/C++ Requirements

OS Versions: Windows CE .NET 4.0 and later.

Header: Msxml2.h, Msxml2.idl.

Link Library: Uuid.lib

General Remarks

This method stops download and parsing and discards any portion of the XML tree already built. IXMLDOMParseErrorindicates that the download was stopped.

If the readyState Property (DOMDocument)has the value COMPLETED, no action is taken and the current document is unchanged.

This method is an extension of the Worldwide Web Consortium (W3C) Document Object Model (DOM).

This method applies to the following interfaces:

DOMDocumentand IXMLDOMParseError.

See Also