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
- target
Type: System. . :: . .Object
The object targeted for the current weak reference.
- selector
Type: System. . :: . .Type
The type that you want to associate with the current weak reference.
- id
Type: System. . :: . .UInt32
The identifier 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.