Compartilhar via


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

When overridden in a derived class, cancels an asynchronous operation.

Syntax

virtual void OnCancel(  
   void  
) = 0;  

Requirements

Header: async.h

Namespace: Microsoft::WRL

See Also

AsyncBase Class
AsyncBase::Cancel Method