Vcl.Edge.EEdgeError.Create
Delphi
constructor Create(const Message: UnicodeString; ErrorCode: HRESULT);
C++
__fastcall EEdgeError(const System::UnicodeString Message, HRESULT ErrorCode);
__fastcall EEdgeError(System::PResStringRec ResStringRec, HRESULT ErrorCode);
/* Exception.CreateFmt */ inline __fastcall EEdgeError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High) : System::Win::Comobj::EOleSysError(Msg, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EEdgeError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High)/* overload */ : System::Win::Comobj::EOleSysError(Ident, Args, Args_High) { }
/* Exception.CreateResFmt */ inline __fastcall EEdgeError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High)/* overload */ : System::Win::Comobj::EOleSysError(ResStringRec, Args, Args_High) { }
/* Exception.CreateFmtHelp */ inline __fastcall EEdgeError(const System::UnicodeString Msg, const System::TVarRec *Args, const int Args_High, int AHelpContext) : System::Win::Comobj::EOleSysError(Msg, Args, Args_High, AHelpContext) { }
/* Exception.CreateResHelp */ inline __fastcall EEdgeError(NativeUInt Ident, int AHelpContext)/* overload */ : System::Win::Comobj::EOleSysError(Ident, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EEdgeError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : System::Win::Comobj::EOleSysError(ResStringRec, Args, Args_High, AHelpContext) { }
/* Exception.CreateResFmtHelp */ inline __fastcall EEdgeError(NativeUInt Ident, const System::TVarRec *Args, const int Args_High, int AHelpContext)/* overload */ : System::Win::Comobj::EOleSysError(Ident, Args, Args_High, AHelpContext) { }
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
constructor | public | Vcl.Edge.pas Vcl.Edge.hpp |
Vcl.Edge | EEdgeError |
Beschreibung
Erzeugt ein EOleSysError-Objekt.
Vcl.Edge.EEdgeError.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.