Compartilhar via


statusText Property (IXMLHTTPRequest) (Compact 2013)

3/26/2014

Represents the HTTP response line status.

Syntax

strValue = oXMLHttpRequest.statusText;
HRESULT get_statusText(
  BSTR* pbstrStatus
);

Parameters

Script

None.

C/C++

  • pbstrStatus
    [out, retval] HTTP response as a BSTR value.

Return Value

Script

String. HTTP response as a BSTR value.

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 HTTP response as a BSTR value. 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
IXMLHTTPRequest

Other Resources

send