Partager via


status Property (IXMLHTTPRequest) (Compact 2013)

3/26/2014

Represents the HTTP status code returned by a request.

Syntax

lValue = oXMLHttpRequest.status;
HRESULT get_status(
  long* plStatus
);

Parameters

Script

None.

C/C++

  • plStatus
    [out, retval] Returned status code, as a long integer.

Return Value

Script

Long integer. Returned status code.

C/C++

  • S_OK
    Value returned if successful.
  • E_FAIL
    Value returned if an error occurs.
  • E_INVALIDARG
    Value returned if the input argument is Null.

Remarks

It represents the returned status code as a long integer. This value is valid only after the send method returns successfully.

The property is read-only, and applies to the following interface:

IXMLHTTPRequest

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML HTTP Properties

Other Resources

send