abort Method (DOMDocument)

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.

oXMLDOMDocument.abort();

HRESULT abort( void );

General Remarks

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

If the readyState property 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:

DOMDocument and IXMLDOMParseError.

See Also

readyState property

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.