EventGridModelFactory.IotHubDeviceConnectedEventData Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie IotHubDeviceConnectedEventData.
public static Azure.Messaging.EventGrid.SystemEvents.IotHubDeviceConnectedEventData IotHubDeviceConnectedEventData (string deviceId = default, string moduleId = default, string hubName = default, Azure.Messaging.EventGrid.SystemEvents.DeviceConnectionStateEventInfo deviceConnectionStateEventInfo = default);
static member IotHubDeviceConnectedEventData : string * string * string * Azure.Messaging.EventGrid.SystemEvents.DeviceConnectionStateEventInfo -> Azure.Messaging.EventGrid.SystemEvents.IotHubDeviceConnectedEventData
Public Shared Function IotHubDeviceConnectedEventData (Optional deviceId As String = Nothing, Optional moduleId As String = Nothing, Optional hubName As String = Nothing, Optional deviceConnectionStateEventInfo As DeviceConnectionStateEventInfo = Nothing) As IotHubDeviceConnectedEventData
Parametry
- deviceId
- String
Unikatowy identyfikator urządzenia. Ten ciąg uwzględniający wielkość liter może zawierać maksymalnie 128 znaków i obsługuje znaki alfanumeryczne ASCII 7-bitowe oraz następujące znaki specjalne: - : . + % _ # * ? ! ( ) , = @ ; $ '.
- moduleId
- String
Unikatowy identyfikator modułu. Ten ciąg uwzględniający wielkość liter może zawierać maksymalnie 128 znaków i obsługuje znaki alfanumeryczne ASCII 7-bitowe oraz następujące znaki specjalne: - : . + % _ # * ? ! ( ) , = @ ; $ '.
- hubName
- String
Nazwa IoT Hub, w którym urządzenie zostało utworzone lub usunięte.
- deviceConnectionStateEventInfo
- DeviceConnectionStateEventInfo
Informacje o zdarzeniu stanu połączenia urządzenia.
Zwraca
Nowe IotHubDeviceConnectedEventData wystąpienie do szyderstwa.
Dotyczy
Azure SDK for .NET