Dispose Method (Boolean)
Collapse the table of content
Expand the table of content

ThreadLocal(Of T).Dispose Method (Boolean)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Releases the resources used by this ThreadLocal(Of T) instance.

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

'Declaration
Protected Overridable Sub Dispose ( _
	disposing As Boolean _
)

Parameters

disposing
Type: System.Boolean
A Boolean value that indicates whether this method is being called due to a call to Dispose.

Unlike most of the members of ThreadLocal(Of T), this method is not thread-safe.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft