RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THTTPReqResp.Check Method

Raises an exception when an error is detected.

Pascal
procedure Check(Error: Boolean; ShowSOAPAction: Boolean = False);
C++
__fastcall Check(Boolean Error, Boolean ShowSOAPAction = False);

Note: On Windows (when using WinInet), THTTPReqResp calls Check internally to raise an exception when it encounters an error.
Note: Check is not available on Linux.
Error indicates whether an error condition was detected. 

ShowSOAPAction indicates whether the error message should include information about the SOAP Action header. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!