System.Runtime.InteropServices.SafeHandle.Finalize Method

Frees all resources associated with the handle.

Syntax

void Finalize ()

Remarks

The SafeHandle.Finalize method is the destructor for the System.Runtime.InteropServices.SafeHandle 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