EventGridModelFactory.DeviceTelemetryEventProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.