AsyncBase::CheckValidStateForDelegateCall Method

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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

Tests whether delegate properties can be modified in the current asynchronous state.

inline HRESULT CheckValidStateForDelegateCall();  

S_OK if delegate properties can be modified; otherwise, E_ILLEGAL_METHOD_CALL.

Header: async.h

Namespace: Microsoft::WRL

AsyncBase Class

Show: