Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Task::FromException Method

.NET Framework (current version)
 

Namespace:   System.Threading.Tasks
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticFromException(Exception^)

Creates a Task that has completed with a specified exception.

System_CAPS_pubmethodSystem_CAPS_staticFromException<TResult>(Exception^)

Creates a Task<TResult> that's completed with a specified exception.

Return to top
Show:
© 2017 Microsoft