WeakReference(Of T) Constructor (T, Boolean)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the WeakReference(Of T) class that references the specified object and uses the specified resurrection tracking.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- target
- Type: T
The object to reference, or Nothing.
- trackResurrection
- Type: System.Boolean
true to track the object after finalization; false to track the object only until finalization.
Show: