EventGridModelFactory.IotHubDeviceDeletedEventData 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 IotHubDeletedEventData.
public static Azure.Messaging.EventGrid.SystemEvents.IotHubDeviceDeletedEventData IotHubDeviceDeletedEventData (string deviceId = default, string hubName = default, Azure.Messaging.EventGrid.SystemEvents.DeviceTwinInfo twin = default);
static member IotHubDeviceDeletedEventData : string * string * Azure.Messaging.EventGrid.SystemEvents.DeviceTwinInfo -> Azure.Messaging.EventGrid.SystemEvents.IotHubDeviceDeletedEventData
Public Shared Function IotHubDeviceDeletedEventData (Optional deviceId As String = Nothing, Optional hubName As String = Nothing, Optional twin As DeviceTwinInfo = Nothing) As IotHubDeviceDeletedEventData
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: - : . + % _ # * ? ! ( ) , = @ ; $ '.
- hubName
- String
Nazwa IoT Hub, w którym urządzenie zostało utworzone lub usunięte.
- twin
- DeviceTwinInfo
Informacje o bliźniaczej reprezentacji urządzenia, czyli reprezentacji chmury metadanych urządzenia aplikacji.
Zwraca
Nowe IotHubDeviceDeletedEventData wystąpienie do szyderstwa.
Dotyczy
Azure SDK for .NET