Metodo System::Threading::Tasks::FromCanceled
System::Threading::Tasks::FromCanceled method
Crea un task che è stato completato a causa della cancellazione con il token specificato.
TaskPtr System::Threading::Tasks::FromCanceled(const CancellationToken &cancellationToken)
| Parametro | Tipo | Descrizione |
|---|---|---|
| cancellationToken | const CancellationToken& | Il token di cancellazione che ha causato l’annullamento del task. |
ReturnValue
Un task annullato.
Vedi anche
- Typedef TaskPtr
- Class CancellationToken
- Namespace System::Threading::Tasks
- Library Aspose.Font for C++