Xml.XMLDoc.XMLDocError

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

procedure XMLDocError(const Msg: string); overload;
procedure XMLDocError(const Msg: string; const Args: array of const); overload;

C++

extern DELPHI_PACKAGE void __fastcall XMLDocError(const System::UnicodeString Msg)/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc Xml.XMLDoc

Beschreibung

Löst eine EXMLDocError-Exception aus.

Mit XMLDocError können Sie eine EXMLDocError-Exception auslösen. Die Verwendung von XMLDocError ergibt kompakteren Code als die Erstellung einer EXMLDocError-Instanz.

Msg ist die Fehlermeldung, die der EXMLDocError-Instanz zugeordnet wird.

Args sind die Argumente für etwaige Formatangaben in Msg.

Anmerkung:  Args_Size ist der Index des letzten Eintrags im Array Args. Der Wert ist um eins kleiner als die Gesamtzahl der Argumente.

Siehe auch