Freigeben über


EventGridModelFactory.IotHubDeviceTelemetryEventData Methode

Definition

Initialisiert eine neue instance von 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

Parameter

body
Object

Der Inhalt der Nachricht vom Gerät.

properties
IReadOnlyDictionary<String,String>

Anwendungseigenschaften sind benutzerdefinierte Zeichenfolgen, die der Nachricht hinzugefügt werden können. Diese Felder sind optional.

systemProperties
IReadOnlyDictionary<String,String>

Mithilfe von Systemeigenschaften werden Inhalt und Quelle von Nachrichten identifiziert.

Gibt zurück

Eine neue IotHubDeviceTelemetryEventData instance zum Mocking.

Gilt für: