Share via


EventGridModelFactory.DeviceConnectionStateEventInfo(String) Method

Definition

Initializes a new instance of DeviceConnectionStateEventInfo.

public static Azure.Messaging.EventGrid.SystemEvents.DeviceConnectionStateEventInfo DeviceConnectionStateEventInfo (string sequenceNumber = default);
static member DeviceConnectionStateEventInfo : string -> Azure.Messaging.EventGrid.SystemEvents.DeviceConnectionStateEventInfo
Public Shared Function DeviceConnectionStateEventInfo (Optional sequenceNumber As String = Nothing) As DeviceConnectionStateEventInfo

Parameters

sequenceNumber
String

Sequence number is string representation of a hexadecimal number. string compare can be used to identify the larger number because both in ASCII and HEX numbers come after alphabets. If you are converting the string to hex, then the number is a 256 bit number.

Returns

A new DeviceConnectionStateEventInfo instance for mocking.

Applies to