Marks the task as failed and binds the specified exception to the task.
Syntax
Parameters
- exception
-
The exception to bind to the task.
Remarks
Requirements
Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0