Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 1023 Bytes

asyncbase-get-errorcode-method.md

File metadata and controls

43 lines (36 loc) · 1023 Bytes
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
AsyncBase::get_ErrorCode Method | Microsoft Docs
11/04/2016
cpp-windows
reference
async/Microsoft::WRL::AsyncBase::get_ErrorCode
C++
get_ErrorCode method
50b4f8a2-9a21-4ea0-bb5d-7ff524d62aea
3
mikeblome
mblome
ghogen

AsyncBase::get_ErrorCode Method

Retrieves the error code for the current asynchronous operation.

Syntax

STDMETHOD(  
   get_ErrorCode  
)(HRESULT* errorCode) override;  

Parameters

errorCode
The location where the current error code is stored.

Return Value

S_OK if successful; otherwise, E_ILLEGAL_METHOD_CALL if the current asynchronous operation is closed.

Requirements

Header: async.h

Namespace: Microsoft::WRL

See Also

AsyncBase Class