Table of Contents

Delegate CloudToDeviceMessage

Namespace
nanoFramework.Azure.Devices.Client
Assembly
nanoFramework.Azure.Devices.Client.dll

Cloud to device delegate function used for callback.

public delegate void CloudToDeviceMessage(object sender, CloudToDeviceMessageEventArgs e)

Parameters

sender object

The DeviceClient class sender.

e CloudToDeviceMessageEventArgs

The device message event arguments.

Extension Methods

Constructors

CloudToDeviceMessage(object, IntPtr)

public CloudToDeviceMessage(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(object, CloudToDeviceMessageEventArgs, AsyncCallback, object)

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

Parameters

sender object
e CloudToDeviceMessageEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(object, CloudToDeviceMessageEventArgs)

public virtual void Invoke(object sender, CloudToDeviceMessageEventArgs e)

Parameters

sender object
e CloudToDeviceMessageEventArgs