NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

WeakReference.Finalize

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();

Remarks

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.

See Also

WeakReference Class | WeakReference Members | System Namespace | Object | GCHandle | GC