| title | AsyncBase::get_ErrorCode Method | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 11/04/2016 | |
| ms.reviewer | ||
| ms.suite | ||
| ms.technology |
|
|
| ms.tgt_pltfrm | ||
| ms.topic | reference | |
| f1_keywords |
|
|
| dev_langs |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | 50b4f8a2-9a21-4ea0-bb5d-7ff524d62aea | |
| caps.latest.revision | 3 | |
| author | mikeblome | |
| ms.author | mblome | |
| manager | ghogen |
Retrieves the error code for the current asynchronous operation.
STDMETHOD(
get_ErrorCode
)(HRESULT* errorCode) override;
errorCode
The location where the current error code is stored.
S_OK if successful; otherwise, E_ILLEGAL_METHOD_CALL if the current asynchronous operation is closed.
Header: async.h
Namespace: Microsoft::WRL