## Marshal::GetHRForException method


Hämtar HResult från undantaget.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| exc | const System::Exception\& | [Exception](../../../system/exception/) för att få HResult för. |

### ReturnValue

HResult‑värde.

## Se även

* Typedef [Exception](../../../system/exception/)
* Class [Marshal](../)
* Namespace [System::Runtime::InteropServices](../../)
* Library [Aspose.PDF for C++](../../../)
