Creates a new WeakReference referencing an object, and optionally tracking the ressurection of the object.
- target
- The target object.
- trackResurrection
- Whether to retain the reference to the object after the object's finalizer has been called but before the object has been removed from memory.
Accessing an object post-finalization should be done with care.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0