SqlCeDataReader.Finalize Method

Releases unmanaged resources and performs other cleanup operations before the SqlCeDataReader is reclaimed by garbage collection.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Protected Overrides Sub Finalize
'Usage

Me.Finalize()
protected override void Finalize()
protected:
virtual void Finalize() override
abstract Finalize : unit -> unit 
override Finalize : unit -> unit 
protected override function Finalize()

Remarks

This method overrides Finalize(). Application code should not call this method; an object's Finalize() method is automatically invoked during garbage collection, unless finalization by the garbage collector has been disabled by a call to the SuppressFinalize() method.

See Also

Reference

SqlCeDataReader Class

System.Data.SqlServerCe Namespace