Sorry for the poor description and terminology.
I have a class object that use periodically. I want to shut it down (stop/abort a thread that is used, dump some data to a file, etc.) and free up the resources used by the class. Once 'disposed' I do not need/want to do anything with the class without having to declare a new one.
The document I referenced before indicates that the methods etc. are still available and that they should throw an exception (Which indicates to me that the class is not truly gone (free).
What I have done so far in the dispose function is take care of cleanup (as mentioned before). At the end I call GC.cleanup (to get rid of variables that are out of scope). But - like I said the document indicates that the class methods and class scoped variables are still active.
Would I be correct in assuming that if I call dispose, set the class declaration variable to nothing and call GC.cleanup that it would no longer be available and that all resources would be free?