System.Win.ComObj.EOleSysError.Create

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

constructor Create(const Message: UnicodeString; ErrorCode: HRESULT;  HelpContext: Integer);

C++

__fastcall EOleSysError(const System::UnicodeString Message, HRESULT ErrorCode, int HelpContext);
/* Exception.CreateFmt */ inline __fastcall EOleSysError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : EOleError(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall EOleSysError(NativeUInt Ident)/* overload */ : EOleError(Ident) { }
/* Exception.CreateRes */ inline __fastcall EOleSysError(System::PResStringRec ResStringRec)/* overload */ : EOleError(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall EOleSysError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : EOleError(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EOleSysError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : EOleError(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall EOleSysError(const System::UnicodeString Msg, int AHelpContext) : EOleError(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall EOleSysError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int AHelpContext) : EOleError(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EOleSysError(NativeUInt Ident, int AHelpContext)/* overload */ : EOleError(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EOleSysError(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : EOleError(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EOleSysError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : EOleError(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EOleSysError(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
System.Win.ComObj.pas
System.Win.ComObj.hpp
System.Win.ComObj EOleSysError

Description

Create crée un objet EOleSysError.

Create appelle SysErrorMessage pour transformer le code d'erreur OLE, ErrorCode, en une chaîne de message transmise au constructeur hérité. EOleSysError initialise la propriété ErrorCode avec la chaîne ErrorCode.

Voir aussi