Delen via


EventGridModelFactory.IotHubDeviceDeletedEventData Methode

Definitie

Initialiseert een nieuw exemplaar van IotHubDeviceDeletedEventData.

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

Parameters

deviceId
String

De unieke id van het apparaat. Deze hoofdlettergevoelige tekenreeks kan maximaal 128 tekens lang zijn en ondersteunt ASCII 7-bits alfanumerieke tekens plus de volgende speciale tekens: - : . + % _ # * ? ! ( ) , = @ ; $ '.

hubName
String

Naam van de IoT Hub waar het apparaat is gemaakt of verwijderd.

twin
DeviceTwinInfo

Informatie over de apparaatdubbel, de cloudweergave van metagegevens van toepassingsapparaten.

Retouren

Een nieuw IotHubDeviceDeletedEventData exemplaar voor het nabootsen.

Van toepassing op