System.VarUtils.VarExceptionToResult

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function VarExceptionToResult(const E: Exception): HRESULT;

C++

extern DELPHI_PACKAGE HRESULT __fastcall VarExceptionToResult(System::Sysutils::Exception* const E);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
System.VarUtils.pas
System.VarUtils.hpp
System.VarUtils System.VarUtils

Beschreibung

Konvertiert ein Exception-Typargument in einen HRESULT-Typ.

VarExceptionToResult ist eine interne Routine, die den in E angegebenen Wert von einem Exception-Typ in einen HRESULT-Typ umwandelt.