Soap.SOAPHTTPTrans.ESOAPHTTPException.Create
Delphi
constructor Create(AStatusCode: Integer; const AStatusText, AURL: string); overload;
C++
__fastcall ESOAPHTTPException(int AStatusCode, const System::UnicodeString AStatusText, const System::UnicodeString AURL)/* overload */;
/* Exception.CreateFmt */ inline __fastcall ESOAPHTTPException(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : System::Net::Urlclient::ENetException(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall ESOAPHTTPException(NativeUInt Ident)/* overload */ : System::Net::Urlclient::ENetException(Ident) { }
/* Exception.CreateRes */ inline __fastcall ESOAPHTTPException(System::PResStringRec ResStringRec)/* overload */ : System::Net::Urlclient::ENetException(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall ESOAPHTTPException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : System::Net::Urlclient::ENetException(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall ESOAPHTTPException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : System::Net::Urlclient::ENetException(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall ESOAPHTTPException(const System::UnicodeString Msg, int AHelpContext) : System::Net::Urlclient::ENetException(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall ESOAPHTTPException(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int AHelpContext) : System::Net::Urlclient::ENetException(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall ESOAPHTTPException(NativeUInt Ident, int AHelpContext)/* overload */ : System::Net::Urlclient::ENetException(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall ESOAPHTTPException(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : System::Net::Urlclient::ENetException(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall ESOAPHTTPException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : System::Net::Urlclient::ENetException(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall ESOAPHTTPException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : System::Net::Urlclient::ENetException(Ident, Args, Args_High, AHelpContext) { }
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
constructor | public | Soap.SOAPHTTPTrans.pas Soap.SOAPHTTPTrans.hpp |
Soap.SOAPHTTPTrans | ESOAPHTTPException |
Beschreibung
Erstellt ein ESOAPHTTPException-Objekt mit einer einfachen Meldung.
Mit Create lässt sich ein ESOAPHTTPException-Objekt mit einem einfachen Meldungs-String erzeugen.
Msg ist der String mit der Fehlermeldung, die zur Laufzeit im Exception-Dialogfeld angezeigt werden soll. Msg kann ein festcodierter String oder ein Funktionsaufruf sein, der einen String zurückgibt.
SCode gibt den HTTP-Statuscode an (falls vorhanden), der zu der Exception geführt hat. Dieser Wert wird der Eigenschaft StatusCode zugewiesen.