DeviceConnectionStateEventProperties Class

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.

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

C#
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

Product Versions
Azure SDK for .NET Latest, Preview