NativeEventHandler Delegate
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
A multicast (combinable) delegate that defines the event handler for a native event.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)
Syntax
'Declaration
Public Delegate Sub NativeEventHandler ( _
data1 As UInteger, _
data2 As UInteger, _
time As DateTime _
)
public delegate void NativeEventHandler(
uint data1,
uint data2,
DateTime time
)
public delegate void NativeEventHandler(
unsigned int data1,
unsigned int data2,
DateTime time
)
type NativeEventHandler =
delegate of
data1:uint32 *
data2:uint32 *
time:DateTime -> unit
JScript does not support delegates.
Parameters
- data1
Type: System. . :: . .UInt32
First parameter (can be the port).
- data2
Type: System. . :: . .UInt32
Second parameter (can be the port).
- time
Type: System. . :: . .DateTime
Time of the event.