Partager via


abort Method (IXMLHTTPRequest) (Windows Embedded CE 6.0)

1/6/2010

Cancels the current HTTP request.

Script Syntax

oXMLHttpRequest.abort();

Remarks

Ee503085.collapse(en-US,WinEmbedded.60).gifScript Parameters

None.

Ee503085.collapse(en-US,WinEmbedded.60).gifScript Return Value

None.

Ee503085.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT abort(
  void
);

Remarks

Ee503085.collapse(en-US,WinEmbedded.60).gifC/C++ Parameters

None.

Ee503085.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

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

Ee503085.collapse(en-US,WinEmbedded.60).gifRequirements

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

Reference

XML HTTP Methods

Concepts

readyState Property (IXMLHTTPRequest)

Other Resources

open Method (IXMLHTTPRequest)