Compartilhar via


abort Method (IXMLHTTPRequest) (Compact 2013)

3/26/2014

Cancels the current HTTP request.

Syntax

oXMLHttpRequest.abort();
HRESULT abort(void);

Parameters

Script

None.

C++

None.

Return Value

Script

None.

C++

C/C++ Syntax

  • S_OK
    Value returned if successful.
  • E_FAIL
    Value returned if an error occurs.

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

Requirements

Header

msxml2.h,
msxml2.idl

Library

uuid.lib

See Also

Reference

XML HTTP Methods
open Method (IXMLHTTPRequest)
readyState Property (IXMLHTTPRequest)