## System::Threading::Tasks::FromCanceled method


Belirtilen token ile iptal nedeniyle tamamlanmış bir görev oluşturur.

```cpp
TaskPtr System::Threading::Tasks::FromCanceled(const CancellationToken &cancellationToken)
```


| Parametre | Tür | Açıklama |
| --- | --- | --- |
| cancellationToken | const CancellationToken\& | Görevin iptal edilmesine neden olan iptal token'ı. |

### ReturnValue

İptal edilmiş bir görev.

## Ayrıca Bakınız

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