次の方法で共有


EventGridModelFactory.IotHubDeviceTelemetryEventData メソッド

定義

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

パラメーター

body
Object

デバイスからのメッセージの内容。

properties
IReadOnlyDictionary<String,String>

アプリケーション プロパティは、メッセージに追加できるユーザー定義の文字列です。 これらのフィールドは省略可能です。

systemProperties
IReadOnlyDictionary<String,String>

システム プロパティは、メッセージのコンテンツとソースを特定するのに役立ちます。

戻り値

モック作成用の新しい IotHubDeviceTelemetryEventData インスタンス。

適用対象