Table of Contents

Delegate NativeEventHandler

Namespace
nanoFramework.Runtime.Events
Assembly
nanoFramework.Runtime.Events.dll

A multicast (combinable) delegate that defines the event handler for a native event.

public delegate void NativeEventHandler(uint data1, uint data2, DateTime time)

Parameters

data1 uint

First parameter (can be the port).

data2 uint

First parameter (can be the port).

time DateTime

Time of the event.

Extension Methods

Constructors

NativeEventHandler(object, IntPtr)

public NativeEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(uint, uint, DateTime, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(uint data1, uint data2, DateTime time, AsyncCallback callback, object @object)

Parameters

data1 uint
data2 uint
time DateTime
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(uint, uint, DateTime)

public virtual void Invoke(uint data1, uint data2, DateTime time)

Parameters

data1 uint
data2 uint
time DateTime