| title |
AsyncBase::Cancel Method | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
reference |
| f1_keywords |
async/Microsoft::WRL::AsyncBase::Cancel |
|
| dev_langs |
|
| helpviewer_keywords |
|
| ms.assetid |
8bfebc63-3848-4629-bc89-aa538ed7e7ad |
| caps.latest.revision |
3 |
| author |
mikeblome |
| ms.author |
mblome |
| manager |
ghogen |
| translation.priority.ht |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
ru-ru |
zh-cn |
zh-tw |
|
| translation.priority.mt |
|
Cancels an asynchronous operation.
STDMETHOD(
Cancel
)(void);
By default, always returns S_OK.
Remarks
Cancel() is a default implementation of IAsyncInfo::Cancel, and does no actual work. To actually cancel an asynchronous operation, override the OnCancel() pure virtual method.
Header: async.h
Namespace: Microsoft::WRL
AsyncBase Class