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.

System..::..Object
  System..::..WeakReference
    Microsoft.SPOT..::..ExtendedWeakReference

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)

public class ExtendedWeakReference : WeakReference

The ExtendedWeakReference type exposes the following members.

  NameDescription
Public methodExtendedWeakReferenceInitializes a new instance of the ExtendedWeakReference class, referencing a specified object.
Top

  NameDescription
Public propertyFlagsGets the flags specifying the states from which the current weak reference should be recoverable.
Public propertyIdGets the ID associated with the current weak reference.
Public propertyIsAliveGets an indication whether the object referenced by the current WeakReference object has been garbage collected. (Inherited from WeakReference.)
Public propertyPriorityGets or sets the priority level for the current weak reference.
Public propertySelectorGets the selector for the current weak reference.
Public propertyTargetGets or sets the object (the target) referenced by the current WeakReference object. (Inherited from WeakReference.)
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodPushBackIntoRecoverListFlags an ExtendedWeakReference object as a candidate for recovery after the device reboots or powers down and restarts.
Public methodStatic memberRecoverRecovers a specific ExtendedWeakReference object.
Public methodStatic memberRecoverOrCreateAttempts to recover a specific ExtendedWeakReference object, and creates a new instance of this class if the recovery attempt fails.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberc_SurviveBootContains a flag specifying that the current weak reference will be recoverable after the device reboots.
Public fieldStatic memberc_SurvivePowerdownContains a flag specifying that the current weak reference will be recoverable after the device powers down and restarts.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: