Soap.SOAPHTTPTrans.ESOAPHTTPException.StatusCode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property StatusCode: Integer read FStatusCode;

C++

__property int StatusCode = {read=FStatusCode, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Soap.SOAPHTTPTrans.pas
Soap.SOAPHTTPTrans.hpp
Soap.SOAPHTTPTrans ESOAPHTTPException

Description

Indicates the HTTP status code of the message that gave rise to this exception.

StatusCode indicates the HTTP status code of the message that caused the application to raise an ESOAPHTTPException exception. If the exception does not represent an HTTP response with a status code that indicates an error, StatusCode is 0.

The value of StatusCode is set by the ESOAPHTTPException constructor.

Note: In Delphi code, this is set by the CreateFmt or Create constructor.

Note: In C++ code, this is set using one of the two constructor syntaxes that take a status code parameter.

See Also