## Marshal::GetHRForException method


Obtient le HResult à partir de l’exception.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| exc | const System::Exception\& | [Exception](../../../system/exception/) pour obtenir le HResult. |

### ReturnValue

Valeur HResult.

## Voir aussi

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