GetHRForException()

Marshal::GetHRForException(const System::Exception&) method

Gets HResult from exception.

static int32_t System::Runtime::InteropServices::Marshal::GetHRForException(const System::Exception &exc)

Arguments

ParameterTypeDescription
excconst System::Exception&Exception to get HResult for.

Return Value

HResult value.

See Also