
The Microsoft .NET Framework • Chapter 2 73
KeepAlive A method that assists in
migrating VB 6.0 code to
VB.NET. Using KeepAlive,
you can tell GC that this
object does not get recy-
cled, even if there are no
roots to it from the rest of
the managed cod by
sending GC a “fake” alive
response.
RequestFinalizeOnShutdown This method is an imple-
mented workaround to a
bug in the beta1
Framework; the .EXE
engine usually shut downs
without calling a finalize
routine. This method
causes all finalization that
needs to be done on
shutdown.
SuppressFinalize This method simply tells
the system to not finalize
a object. Very useful for
helping GC “skip” prefi-
nalized ...