Ouvrir le menu principal

RAD Studio API Documentation β

System.VarUtils.VarExceptionToResult

Delphi

function VarExceptionToResult(const E: Exception): HRESULT;

C++

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

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.VarUtils.pas
System.VarUtils.hpp
System.VarUtils System.VarUtils

Description

Convertit un argument de type Exception en un type HRESULT.

VarExceptionToResult est une routine interne qui convertit la valeur donnée par E d'un type Exception en un type HRESULT.