طريقة System::Runtime::InteropServices::Marshal::GetHRForException

Marshal::GetHRForException method

يحصل على HResult من الاستثناء.

static int32_t System::Runtime::InteropServices::Marshal::GetHRForException(const System::Exception &exc)
معاملنوعالوصف
excconst System::Exception&Exception للحصول على HResult.

ReturnValue

قيمة HResult.

انظر أيضًا