System.Runtime.InteropServices.CriticalHandle.Finalize Method

Frees all resources associated with the handle.

Syntax

[System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.Success)]
void Finalize ()

Remarks

The CriticalHandle.Finalize method is the destructor for the System.Runtime.InteropServices.CriticalHandle class. Application code should not call this method directly.

Requirements

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