Disposes the System.Threading.Tasks.Task, releasing all of its unmanaged resources.
- disposing
- A Boolean value that indicates whether this method is being called due to a call to Task.Dispose.
Unlike most of the members of System.Threading.Tasks.Task, this method is not thread-safe.