System.Threading.Barrier.Dispose Method

Releases the unmanaged resources used by the System.Threading.Barrier, and optionally releases the managed resources.

Syntax

protected virtual void Dispose (bool disposing)

Parameters

disposing
true to release both managed and unmanaged resources; false to release only unmanaged resources.

Remarks

Unlike most of the members of System.Threading.Barrier, Dispose is not thread-safe and may not be used concurrently with other members of this instance.

Requirements

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