API:Vcl.OleAuto.EOleException.Create
Delphi
constructor Create(const ExcepInfo: TExcepInfo);
C++
__fastcall EOleException(const tagEXCEPINFO &ExcepInfo);
/* Exception.CreateFmt */ inline __fastcall EOleException(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : EOleError(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall EOleException(NativeUInt Ident, const double* Dummy)/* overload */ : EOleError(Ident) { }
/* Exception.CreateRes */ inline __fastcall EOleException(System::PResStringRec ResStringRec)/* overload */ : EOleError(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall EOleException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : EOleError(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EOleException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : EOleError(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall EOleException(const System::UnicodeString Msg, int AHelpContext) : EOleError(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall EOleException(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int AHelpContext) : EOleError(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EOleException(NativeUInt Ident, int AHelpContext)/* overload */ : EOleError(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EOleException(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : EOleError(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EOleException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : EOleError(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EOleException(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : EOleError(Ident, Args, Args_High, AHelpContext) { }
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
constructor | public | Vcl.OleAuto.pas Vcl.OleAuto.hpp |
Vcl.OleAuto | EOleException |
Description
Instancie une instance d'une exception avec une simple chaîne de message.
Vcl.OleAuto.EOleException.Create hérite de System.SysUtils.Exception.Create. Tout le contenu en-dessous de cette ligne se réfère à System.SysUtils.Exception.Create.
Instancie une instance d'une exception avec une simple chaîne de message.
Appelez Create pour construire un objet exception 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.