Share via


EventGridModelFactory.DeviceTelemetryEventProperties Method

Definition

Initializes a new instance of DeviceTelemetryEventProperties.

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

Parameters

body
Object

The content of the message from the device.

properties
IReadOnlyDictionary<String,String>

Application properties are user-defined strings that can be added to the message. These fields are optional.

systemProperties
IReadOnlyDictionary<String,String>

System properties help identify contents and source of the messages.

Returns

A new DeviceTelemetryEventProperties instance for mocking.

Applies to