System.Threading.Tasks.Task.Dispose Method

Disposes the System.Threading.Tasks.Task, releasing all of its unmanaged resources.

Syntax

protected virtual void Dispose (bool disposing)

Parameters

disposing
A Boolean value that indicates whether this method is being called due to a call to Task.Dispose.

Remarks

Unlike most of the members of System.Threading.Tasks.Task, this method is not thread-safe.

Requirements

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