AsyncBase::CheckValidStateForResultsCall Method


For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Tests whether the results of an asynchronous operation can be collected in the current asynchronous state.

inline HRESULT CheckValidStateForResultsCall();  

S_OK if results can be collected; otherwise, E_ILLEGAL_METHOD_CALLE_ILLEGAL_METHOD_CALL.

Header: async.h

Namespace: Microsoft::WRL

AsyncBase Class