
## get_ErrorCode {#get_errorcode}

Gets the error code that was returned by the service.

**Returns:** AutodiscoverErrorCode Aspose::Email::Clients::Exchange::

```cpp
get_ErrorCode()
```

