System::Runtime::InteropServices::Marshal::GetHRForException μέθοδος

Marshal::GetHRForException method

Αποκτά HResult από εξαίρεση.

static int32_t System::Runtime::InteropServices::Marshal::GetHRForException(const System::Exception &exc)
ParameterTypeΠεριγραφή
excconst System::Exception&Exception για λήψη HResult.

ReturnValue

Τιμή HResult.

Δείτε επίσης