共用方式為


IotHubDeviceConnectedEventData Class

Definition

Event data for Microsoft.Devices.DeviceConnected event.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Messaging.EventGrid.SystemEvents.IotHubDeviceConnectedEventData+IotHubDeviceConnectedEventDataConverter))]
public class IotHubDeviceConnectedEventData : Azure.Messaging.EventGrid.SystemEvents.DeviceConnectionStateEventProperties
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Messaging.EventGrid.SystemEvents.IotHubDeviceConnectedEventData+IotHubDeviceConnectedEventDataConverter))>]
type IotHubDeviceConnectedEventData = class
    inherit DeviceConnectionStateEventProperties
Public Class IotHubDeviceConnectedEventData
Inherits DeviceConnectionStateEventProperties
Inheritance
IotHubDeviceConnectedEventData
Attributes

Properties

DeviceConnectionStateEventInfo

Information about the device connection state event.

(Inherited from DeviceConnectionStateEventProperties)
DeviceId

The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ &#35; * ? ! ( ) , = @ ; $ '.

(Inherited from DeviceConnectionStateEventProperties)
HubName

Name of the IoT Hub where the device was created or deleted.

(Inherited from DeviceConnectionStateEventProperties)
ModuleId

The unique identifier of the module. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ &#35; * ? ! ( ) , = @ ; $ '.

(Inherited from DeviceConnectionStateEventProperties)

Applies to