System::Runtime::InteropServices::Marshal::GetHRForException metod

Marshal::GetHRForException method

Hämtar HResult från undantaget.

static int32_t System::Runtime::InteropServices::Marshal::GetHRForException(const System::Exception &exc)
ParameterTypBeskrivning
excconst System::Exception&Exception för att få HResult för.

ReturnValue

HResult‑värde.

Se även