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
objectThe DeviceClient class sender.
e
CloudToDeviceMessageEventArgsThe device message event arguments.
- Extension Methods
Constructors
CloudToDeviceMessage(object, IntPtr)
public CloudToDeviceMessage(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(object, CloudToDeviceMessageEventArgs, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(object sender, CloudToDeviceMessageEventArgs e, AsyncCallback callback, object @object)
Parameters
sender
objecte
CloudToDeviceMessageEventArgscallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(object, CloudToDeviceMessageEventArgs)
public virtual void Invoke(object sender, CloudToDeviceMessageEventArgs e)
Parameters
sender
objecte
CloudToDeviceMessageEventArgs