EventGridModelFactory.DeviceConnectionStateEventInfo(String) Method
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.
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
Azure SDK for .NET