WeakReference.TrackResurrection Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets an indication whether the object referenced by the current WeakReference object is tracked after it is finalized.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public virtual bool TrackResurrection { get; }

Property Value

Type: System.Boolean

true if the object the current WeakReference object refers to is tracked after finalization; or false if the object is only tracked until finalization.

If true, the weak reference is a long weak reference and true was specified for the trackResurrection parameter in the WeakReference constructor.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: