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.TrackResurrection

Retrieves a Boolean indicating whether objects are tracked.

[Visual Basic]
Overridable Public ReadOnly Property TrackResurrection As Boolean
[C#]
public bool TrackResurrection {virtual get;}
[C++]
public: __property virtual bool get_TrackResurrection();
[JScript]
public function get TrackResurrection() : Boolean;

Property Value

Read only. This property can have the following values:

Value Description
true The reference will refer to the target until it is reclaimed by the Runtime (until collection).
false. The reference will refer to the target until the first time it is detected to be unreachable by the Runtime (until finalization).

Remarks

The TrackResurrection property retrieves a Boolean indicating whether objects are tracked until they are collected (true) by the runtime or until they are finalized (false) when the first time it is detected to be unreachable by the Runtime (until finalization).

See Also

WeakReference Class | WeakReference Members | System Namespace | GCHandle | GC | System.Runtime