Table of Contents

Delegate CustomEventPostedEventHandler

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

Provides an event handler that is called when a custom event is posted.

public delegate void CustomEventPostedEventHandler(object sender, CustomEventArgs e)

Parameters

sender object

Specifies the object that sent the custom event.

e CustomEventArgs

Contains the custom event arguments.

Extension Methods

Constructors

CustomEventPostedEventHandler(object, IntPtr)

public CustomEventPostedEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(object, CustomEventArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(object sender, CustomEventArgs e, AsyncCallback callback, object @object)

Parameters

sender object
e CustomEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(object, CustomEventArgs)

public virtual void Invoke(object sender, CustomEventArgs e)

Parameters

sender object
e CustomEventArgs