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
data1uintFirst parameter (can be the port).
data2uintFirst parameter (can be the port).
timeDateTimeTime 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
data1uintdata2uinttimeDateTimecallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(uint, uint, DateTime)
public virtual void Invoke(uint data1, uint data2, DateTime time)