Soap.SOAPHTTPTrans.ESOAPHTTPException.CreateFmt

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor CreateFmt(const Msg: string; const Args: array of const; SCode: Integer = 0; Dummy: Integer = 0);

Properties

Type Visibility Source Unit Parent
constructor public Soap.SOAPHTTPTrans.pas Soap.SOAPHTTPTrans ESOAPHTTPException

Description

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

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.

See Also