Share via


AsyncBase::get_Status 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::get_Status Method.

Retrieves a value that indicates the status of the asynchronous operation.

Syntax

STDMETHOD(  
   get_Status  
)(AsyncStatus *status) override;  

Parameters

status
The location where the status is to be stored. For more information, see Windows::Foundation::AsyncStatus enumeration.

Return Value

S_OK if successful; otherwise, E_ILLEGAL_METHOD_CALL.

Remarks

This method implements IAsyncInfo::get_Status.

Requirements

Header: async.h

Namespace: Microsoft::WRL

See Also

AsyncBase Class