Bridge

Task..::..Dispose Method

Releases all resources used by the current instance of the Task class.

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

Syntax


public void Dispose()
Public Sub Dispose
public:
void Dispose()

Exceptions


ExceptionCondition
System..::..InvalidOperationExceptionThe task is not in one of the final states: RanToCompletion, Faulted, or Canceled.