.NET Framework Class Library |
ThreadLocal<(Of <(T>)>)..::.Dispose Method (Boolean) |
ThreadLocal<(Of <(T>)>) Class See Also Send Feedback |
Releases the resources used by this ThreadLocal<(Of <(T>)>) instance.
Namespace:
System.Threading
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
A Boolean value that indicates whether this method is being called due to a call to Dispose()()().
Remarks
Unlike most of the members of ThreadLocal<(Of <(T>)>), this method is not thread-safe.