你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IotHubDeviceTelemetryEventData interface

Microsoft.Devices.DeviceTelemetry 事件的事件数据。

扩展

继承属性

body

来自设备的消息的内容。

properties

应用程序属性是可以添加到消息中的用户定义的字符串。 这些字段是可选的。

systemProperties

系统属性有助于识别消息的内容和源。

继承属性详细信息

body

来自设备的消息的内容。

body: Record<string, unknown>

属性值

Record<string, unknown>

继承自DeviceTelemetryEvent.body

properties

应用程序属性是可以添加到消息中的用户定义的字符串。 这些字段是可选的。

properties: {[propertyName: string]: string}

属性值

{[propertyName: string]: string}

继承自DeviceTelemetryEvent.properties

systemProperties

系统属性有助于识别消息的内容和源。

systemProperties: {[propertyName: string]: string}

属性值

{[propertyName: string]: string}

继承自DeviceTelemetryEvent.systemProperties