ExtendedWeakReference Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Represents an extended weak reference, which references an object but still leaves it prone to garbage collection.
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)
The ExtendedWeakReference type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ExtendedWeakReference | Initializes a new instance of the ExtendedWeakReference class, referencing a specified object. |
| Name | Description | |
|---|---|---|
![]() | Flags | Gets the flags specifying the states from which the current weak reference should be recoverable. |
![]() | Id | Gets the ID associated with the current weak reference. |
![]() | IsAlive | Gets an indication whether the object referenced by the current WeakReference object has been garbage collected. (Inherited from WeakReference.) |
![]() | Priority | Gets or sets the priority level for the current weak reference. |
![]() | Selector | Gets the selector for the current weak reference. |
![]() | Target | Gets or sets the object (the target) referenced by the current WeakReference object. (Inherited from WeakReference.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | PushBackIntoRecoverList | Flags an ExtendedWeakReference object as a candidate for recovery after the device reboots or powers down and restarts. |
![]() ![]() | Recover | Recovers a specific ExtendedWeakReference object. |
![]() ![]() | RecoverOrCreate | Attempts to recover a specific ExtendedWeakReference object, and creates a new instance of this class if the recovery attempt fails. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | c_SurviveBoot | Contains a flag specifying that the current weak reference will be recoverable after the device reboots. |
![]() ![]() | c_SurvivePowerdown | Contains a flag specifying that the current weak reference will be recoverable after the device powers down and restarts. |
