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
uintFirst parameter (can be the port).
data2
uintFirst parameter (can be the port).
time
DateTimeTime of the event.
- Extension Methods
Constructors
NativeEventHandler(object, IntPtr)
public NativeEventHandler(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(uint, uint, DateTime, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(uint data1, uint data2, DateTime time, AsyncCallback callback, object @object)
Parameters
data1
uintdata2
uinttime
DateTimecallback
AsyncCallbackobject
object
Returns
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)