System.Runtime.ConstrainedExecution.CriticalFinalizerObject.Finalize Method

Releases all the resources used by the System.Runtime.ConstrainedExecution.CriticalFinalizerObject class.

Syntax

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

Remarks

The finalizer for any types deriving from System.Runtime.ConstrainedExecution.CriticalFinalizerObject is given the opportunity to execute and will not be aborted, assuming the finalizer correctly follows the rules for a constrained execution region (CER).

Requirements

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