Share via


ExtendedWeakReference Constructor

Initializes a new instance of the ExtendedWeakReference class, referencing a specified object.

Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.Native (in microsoft.spot.native.dll)

Syntax

[MethodImplAttribute]
public ExtendedWeakReference (
         Objecttarget,
         Typeselector,
         UInt32id,
         UInt32flags
)

Parameters

  • target
    The object targeted for the current weak reference.
  • selector
    The type that you want to associate with the current weak reference.
  • id
    The indentifier that you want to associate with the current weak reference.
  • flags
    Flags that specify the states from which the current weak reference should be recoverable. The valid flag values for this parameter are c_SurviveBoot and c_SurvivePowerdown. These values can be combined using a bitwise OR operation.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

ExtendedWeakReference Class
ExtendedWeakReference Members
Microsoft.SPOT Namespace