API:System.Win.ComObj.EOleException.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

constructor Create(const Message: string; ErrorCode: HRESULT;  const Source, HelpFile: string; HelpContext: Integer);

C++

__fastcall EOleException(const System::UnicodeString Message, HRESULT ErrorCode, const System::UnicodeString Source, const System::UnicodeString HelpFile, int HelpContext);
/* Exception.CreateFmt */ inline __fastcall EOleException(const System::UnicodeString Msg, System::TVarRec const *Args, const int Args_High) : EOleSysError(Msg, Args, Args_High) { }
/* Exception.CreateRes */ inline __fastcall EOleException(NativeUInt Ident)/* overload */ : EOleSysError(Ident) { }
/* Exception.CreateRes */ inline __fastcall EOleException(System::PResStringRec ResStringRec)/* overload */ : EOleSysError(ResStringRec) { }
/* Exception.CreateResFmt */ inline __fastcall EOleException(NativeUInt Ident, System::TVarRec const *Args, const int Args_High)/* overload */ : EOleSysError(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EOleException(System::PResStringRec ResStringRec, System::TVarRec const *Args, const int Args_High)/* overload */ : EOleSysError(ResStringRec, Args, Args_High) { }
/* Exception.CreateHelp */ inline __fastcall EOleException(const System::UnicodeString Msg, int AHelpContext) : EOleSysError(Msg, AHelpContext) { }
/* Exception.CreateFmtHelp */ inline __fastcall EOleException(const System::UnicodeString Msg, System::TVarRec const *Args, const int Args_High, int AHelpContext) : EOleSysError(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EOleException(NativeUInt Ident, int AHelpContext)/* overload */ : EOleSysError(Ident, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EOleException(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : EOleSysError(ResStringRec, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EOleException(System::PResStringRec ResStringRec, System::TVarRec const *Args, const int Args_High, int AHelpContext)/* overload */ : EOleSysError(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EOleException(NativeUInt Ident, System::TVarRec const *Args, const int Args_High, int AHelpContext)/* overload */ : EOleSysError(Ident, Args, Args_High, AHelpContext) { }

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
constructor public
System.Win.ComObj.pas
System.Win.ComObj.hpp
System.Win.ComObj EOleException

Beschreibung

Erzeugt ein EOleSysError-Objekt.

System.Win.ComObj.EOleException.Create erbt von System.Win.ComObj.EOleSysError.Create. Der folgende Inhalt bezieht sich auf System.Win.ComObj.EOleSysError.Create.

Erzeugt ein EOleSysError-Objekt.

Create ruft die Methode SysErrorMessage auf, die den Wert des Parameters ErrorCode (den Fehlercode) in einen Meldungs-String umwandelt und diesen String an den geerbten Konstruktor übergibt. EOleSysError initialisiert mit ihm die Eigenschaft ErrorCode.

Siehe auch