## Marshal::GetHRForException method


Gets HResult from exception.

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


| Parameter | Type | Description |
| --- | --- | --- |
| exc | const System::Exception\& | [Exception](../../../system/exception/) to get HResult for. |

### ReturnValue

HResult value.

## See Also

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