Frees all resources associated with this reference.
[Visual Basic] Overrides Protected Sub Finalize() [C#] protected override void Finalize(); [C++] protected: override void Finalize(); [JScript] protected override function Finalize();
The Finalize method cancels (eliminates or voids) the calls of the current object to the runtime. The object will not longer be available for calls after Finalize.
If the current instance is resurrected after a call to Finalize and IsAlive, it will throw a WeakReferenceException.
WeakReference Class | WeakReference Members | System Namespace | Object | GCHandle | GC