你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EventGridModelFactory.DeviceConnectionStateEventInfo(String) 方法

定义

初始化 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

参数

sequenceNumber
String

序列号是十六进制数的字符串表示形式。 字符串比较可用于识别较大的数字,因为 ASCII 和十六进制数字都位于字母表之后。 如果要将字符串转换为十六进制,则该数字为 256 位数字。

返回

用于模拟的新 DeviceConnectionStateEventInfo 实例。

适用于