Task::FromException Method
.NET Framework (current version)
Namespace:
System.Threading.Tasks
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | FromException(Exception^) | Creates a Task that has completed with a specified exception. |
![]() ![]() | FromException<TResult>(Exception^) | Creates a Task<TResult> that's completed with a specified exception. |
Show:

