RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ESOAPHTTPException.CreateFmt Constructor

Instantiates an instance of an ESOAPHTTPException with a formatted message string.

Pascal
constructor CreateFmt(const Msg: string; const Args: array of const; SCode: Integer = 0; Dummy: Integer = 0);
C++
__fastcall ESOAPHTTPException(const AnsiString Msg, const array of const Args, int SCode = 0, int Dummy = 0);

Call CreateFmt to construct an ESOAPHTTPException with a formatted message string.  

Msg is a string constant containing format specifiers to be replaced with values from Args.  

Args is an array of constants containing values to format according to format specifiers in Msg. CreateFmt calls the Format function to transform Msg with the values in Args.  

SCode is the HTTP status code, if any, that triggered this exception. It becomes the value of the StatusCode property. 

 

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