System::Threading::Tasks::FromException method
System::Threading::Tasks::FromException(const Exception&) method
Belirtilen bir istisna ile tamamlanmış bir görev oluşturur.
TaskPtr System::Threading::Tasks::FromException(const Exception &exception)
| Parametre | Tür | Açıklama |
|---|---|---|
| istisna | const Exception\& | Görevi tamamlamak için kullanılacak istisna. |
ReturnValue
Hatalı bir görev.
Ayrıca Bakınız
- Typedef TaskPtr
- Typedef Exception
- Namespace System::Threading::Tasks
- Library Aspose.Font for C++
System::Threading::Tasks::FromException(const Exception&) method
Belirtilen bir istisna ve sonuç türü ile tamamlanmış bir görev oluşturur.
template<typename TResult> RTaskPtr<TResult> System::Threading::Tasks::FromException(const Exception &exception)
| Parametre | Açıklama |
|---|---|
| TResult | Görev sonucunun türü. |
| Parametre | Tür | Açıklama |
|---|---|---|
| istisna | const Exception\& | Görevi tamamlamak için kullanılacak istisna. |
ReturnValue
Belirtilen sonuç türüne sahip hatalı bir görev.
Ayrıca Bakınız
- Typedef RTaskPtr
- Typedef Exception
- Namespace System::Threading::Tasks
- Library Aspose.Font for C++