T
Tom
If I have a class object where I need to free resources before it is
de-instantiated, should one use Finalize or Dispose in VB.NET? (This is
for a VB.NET class object) I will need to free up things such as
timers, database connections, etc. Normally, the user of my class will
call a STOP public method I coded to actually stop the processing of
the class, but I figure I need something to make sure things are REALLY
closed out, etc.
I am just a little confused as to which one should be used for a class
object. (And exactly what the difference is - the docs are kinda vague
on this) Thanks...
Tom
de-instantiated, should one use Finalize or Dispose in VB.NET? (This is
for a VB.NET class object) I will need to free up things such as
timers, database connections, etc. Normally, the user of my class will
call a STOP public method I coded to actually stop the processing of
the class, but I figure I need something to make sure things are REALLY
closed out, etc.
I am just a little confused as to which one should be used for a class
object. (And exactly what the difference is - the docs are kinda vague
on this) Thanks...
Tom