共用方式為


DeviceConnectionStateEventProperties Class

Definition

Schema of the Data property of an EventGridEvent for a device connection state event (DeviceConnected, DeviceDisconnected).

public class DeviceConnectionStateEventProperties
type DeviceConnectionStateEventProperties = class
Public Class DeviceConnectionStateEventProperties
Inheritance
DeviceConnectionStateEventProperties
Derived

Properties

DeviceConnectionStateEventInfo

Information about the device connection state event.

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: - : . + % _ # * ? ! ( ) , = @ ; $ '.

HubName

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

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: - : . + % _ # * ? ! ( ) , = @ ; $ '.

Applies to