System.Threading.ThreadLocal<T>.Dispose Method

Releases the resources used by this System.Threading.ThreadLocal`1 instance.

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 ThreadLocal`1.Dispose.

Remarks

Unlike most of the members of System.Threading.ThreadLocal`1, this method is not thread-safe.

Requirements

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