AsyncBase::ErrorCode Method


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at AsyncBase::ErrorCode Method.

Retrieves the error code for the current asynchronous operation.

inline void ErrorCode(  
   HRESULT *error  


The location where this operation stores the current error code.

This operation is thread-safe.

Header: async.h

Namespace: Microsoft::WRL

AsyncBase Class