Delen via


EventGridModelFactory.IotHubDeviceTelemetryEventData Methode

Definitie

Initialiseert een nieuw exemplaar van IotHubDeviceTelemetryEventData.

public static Azure.Messaging.EventGrid.SystemEvents.IotHubDeviceTelemetryEventData IotHubDeviceTelemetryEventData (object body = default, System.Collections.Generic.IReadOnlyDictionary<string,string> properties = default, System.Collections.Generic.IReadOnlyDictionary<string,string> systemProperties = default);
static member IotHubDeviceTelemetryEventData : obj * System.Collections.Generic.IReadOnlyDictionary<string, string> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.Messaging.EventGrid.SystemEvents.IotHubDeviceTelemetryEventData
Public Shared Function IotHubDeviceTelemetryEventData (Optional body As Object = Nothing, Optional properties As IReadOnlyDictionary(Of String, String) = Nothing, Optional systemProperties As IReadOnlyDictionary(Of String, String) = Nothing) As IotHubDeviceTelemetryEventData

Parameters

body
Object

De inhoud van het bericht van het apparaat.

properties
IReadOnlyDictionary<String,String>

Toepassingseigenschappen zijn door de gebruiker gedefinieerde tekenreeksen die aan het bericht kunnen worden toegevoegd. Deze velden zijn optioneel.

systemProperties
IReadOnlyDictionary<String,String>

Systeemeigenschappen helpen bij het identificeren van de inhoud en bron van de berichten.

Retouren

Een nieuw IotHubDeviceTelemetryEventData exemplaar voor het nabootsen.

Van toepassing op