DeviceClient.SendEventAsync(Message) Method

Definition

Sends an event to device hub

public System.Threading.Tasks.Task SendEventAsync (Microsoft.Azure.Devices.Client.Message message);
member this.SendEventAsync : Microsoft.Azure.Devices.Client.Message -> System.Threading.Tasks.Task

Parameters

message
Message

Returns

System.Threading.Tasks.Task

The message containing the event

Applies to