System.Runtime.InteropServices.CriticalHandle.Dispose Method

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

Syntax

[System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)]
protected virtual void Dispose (bool disposing)

Parameters

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

Remarks

You should never explicitly call the CriticalHandle.Dispose(bool) method with the disposing parameter set to false.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0