Soap.SOAPHTTPTrans.ESOAPHTTPException.Create

De RAD Studio API Documentation
Aller à : navigation, rechercher

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) { }

Propriétés

Type Visibilité  Source Unité  Parent
constructor public
Soap.SOAPHTTPTrans.pas
Soap.SOAPHTTPTrans.hpp
Soap.SOAPHTTPTrans ESOAPHTTPException

Description

Instancie une instance d'une exception ESOAPHTTPExceptionavec une simple chaîne de message.

Appelez Create pour construire un objet ESOAPHTTPException avec une simple chaîne de message.

Msg représente la chaîne contenant le message d'erreur d'exécution à afficher dans la boîte de dialogue des exceptions. Msg peut être une chaîne codée en dur ou un appel de fonction renvoyant une chaîne.

SCode représente le code d'état HTTP, s'il existe, à l'origine de l'exception. Il devient la valeur de la propriété StatusCode.

Voir aussi