Table of Contents

Delegate SwarmTile.MessageEventHandler

Namespace
Iot.Device.Swarm
Assembly
Iot.Device.Swarm.dll

Represents the delegate used for the MessageEvent event.

public delegate void SwarmTile.MessageEventHandler(MessageEvent messageEvent, string messageId)

Parameters

messageEvent MessageEvent

Event occurred about a message.

messageId string

Id of message the event is related with.

Constructors

MessageEventHandler(object, IntPtr)

public MessageEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(MessageEvent, string, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(MessageEvent messageEvent, string messageId, AsyncCallback callback, object @object)

Parameters

messageEvent MessageEvent
messageId string
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(MessageEvent, string)

public virtual void Invoke(MessageEvent messageEvent, string messageId)

Parameters

messageEvent MessageEvent
messageId string