ExtendedWeakReference Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

'Declaration
Public Sub New ( _
    target As Object, _
    selector As Type, _
    id As UInteger, _
    flags As UInteger _
)
public ExtendedWeakReference(
    Object target,
    Type selector,
    uint id,
    uint flags
)
public:
ExtendedWeakReference(
    Object^ target, 
    Type^ selector, 
    unsigned int id, 
    unsigned int flags
)
new : 
        target:Object * 
        selector:Type * 
        id:uint32 * 
        flags:uint32 -> ExtendedWeakReference
public function ExtendedWeakReference(
    target : Object, 
    selector : Type, 
    id : uint, 
    flags : uint
)

Parameters

  • selector
    Type: System. . :: . .Type
    The type that you want to associate with the current weak reference.
  • flags
    Type: System. . :: . .UInt32
    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.

.NET Framework Security

See Also

Reference

ExtendedWeakReference Class

Microsoft.SPOT Namespace