Condividi tramite


TelemetryMessage Constructors

Definition

Overloads

TelemetryMessage()

Default instantiation with no payload.

TelemetryMessage(Object)

Creates an outgoing message with the specified payload.

TelemetryMessage()

Default instantiation with no payload.

public TelemetryMessage ();
Public Sub New ()

Applies to

TelemetryMessage(Object)

Creates an outgoing message with the specified payload.

public TelemetryMessage (object payload);
new Microsoft.Azure.Devices.Client.TelemetryMessage : obj -> Microsoft.Azure.Devices.Client.TelemetryMessage
Public Sub New (payload As Object)

Parameters

payload
Object

The payload to send.

Remarks

The payload will be serialized and encoded per PayloadConvention.

Applies to