Condividi tramite


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

Starts the asynchronous operation.

Syntax

STDMETHOD(  
   Start  
)(void);  

Return Value

S_OK if the operation starts or is already started; otherwise, E_ILLEGAL_STATE_CHANGE.

Remarks

Start() is a default implementation of IAsyncInfo::Start, and does no actual work. To actually start an asynchronous operation, override the OnStart() pure virtual method.

Requirements

Header: async.h

Namespace: Microsoft::WRL

See Also

AsyncBase Class