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

CriticalHandle.Dispose Method (Boolean)

 

Releases the unmanaged resources used by the CriticalHandle class specifying whether to perform a normal dispose operation.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

<SecurityCriticalAttribute>
Protected Overridable Sub Dispose (
	disposing As Boolean
)

Parameters

disposing
Type: System.Boolean

true for a normal dispose operation; false to finalize the handle.

You should never explicitly call the Dispose method with the disposing parameter set to false.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft