## Task::Wait() method


Attende che l'attività sia completata.

```cpp
void System::Threading::Tasks::Task::Wait()
```


## Vedi anche

* Class [Task](../)
* Namespace [System::Threading::Tasks](../../)
* Library [Aspose.Font for C++](../../../)
## Task::Wait(const CancellationToken\&) method


Attende che l'attività sia completata con supporto per la cancellazione.

```cpp
void System::Threading::Tasks::Task::Wait(const CancellationToken &cancellationToken)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| cancellationToken | const CancellationToken\& | Token per monitorare l'annullamento durante l'attesa |

## Vedi anche

* Class [CancellationToken](../../../system.threading/cancellationtoken/)
* Class [Task](../)
* Namespace [System::Threading::Tasks](../../)
* Library [Aspose.Font for C++](../../../)
