Task..::..Dispose Method
Releases all resources used by the current instance of the Task class.
Namespace:
System.Threading.TasksAssembly: Bridge (in Bridge.dll)
Exceptions
Exception | Condition |
---|---|
System..::..InvalidOperationException | The task is not in one of the final states: RanToCompletion, Faulted, or Canceled. |