Dispose Method (Boolean)

Task Parallel System.Threading

Releases resources used by the BlockingCollection<(Of <(T>)>) instance.

Namespace:  System.Collections.Concurrent
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Protected Overridable Sub Dispose ( _
	disposing As Boolean _
)
C#
protected virtual void Dispose(
	bool disposing
)

Parameters

disposing
Type: System..::.Boolean
Whether being disposed explicitly (true) or due to a finalizer (false).

See Also