RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ESOAPHTTPException.StatusCode Property

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

Pascal
property StatusCode: Integer;
C++
__property int StatusCode;

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.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!