RegistryManager.GetTwinAsync Método

Definición

Sobrecargas

GetTwinAsync(String)

Obtiene Twin de IotHub.

GetTwinAsync(String, String)

Obtiene el módulo Twin de IotHub.

GetTwinAsync(String, CancellationToken)

Obtiene Twin de IotHub.

GetTwinAsync(String, String, CancellationToken)

Obtiene el módulo Twin de IotHub.

GetTwinAsync(String)

Obtiene Twin de IotHub.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin> GetTwinAsync (string deviceId);
abstract member GetTwinAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin>
override this.GetTwinAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin>
Public Overridable Function GetTwinAsync (deviceId As String) As Task(Of Twin)

Parámetros

deviceId
String

Identificador del dispositivo.

Devoluciones

Instancia de gemelo.

Se aplica a

GetTwinAsync(String, String)

Obtiene el módulo Twin de IotHub.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin> GetTwinAsync (string deviceId, string moduleId);
abstract member GetTwinAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin>
override this.GetTwinAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin>
Public Overridable Function GetTwinAsync (deviceId As String, moduleId As String) As Task(Of Twin)

Parámetros

deviceId
String

Identificador del dispositivo.

moduleId
String

Identificador del módulo.

Devoluciones

Instancia de gemelo.

Se aplica a

GetTwinAsync(String, CancellationToken)

Obtiene Twin de IotHub.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin> GetTwinAsync (string deviceId, System.Threading.CancellationToken cancellationToken);
abstract member GetTwinAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin>
override this.GetTwinAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin>
Public Overridable Function GetTwinAsync (deviceId As String, cancellationToken As CancellationToken) As Task(Of Twin)

Parámetros

deviceId
String

Identificador del dispositivo.

cancellationToken
CancellationToken

Token de cancelación de tareas.

Devoluciones

Instancia de gemelo.

Se aplica a

GetTwinAsync(String, String, CancellationToken)

Obtiene el módulo Twin de IotHub.

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin> GetTwinAsync (string deviceId, string moduleId, System.Threading.CancellationToken cancellationToken);
abstract member GetTwinAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin>
override this.GetTwinAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Shared.Twin>
Public Overridable Function GetTwinAsync (deviceId As String, moduleId As String, cancellationToken As CancellationToken) As Task(Of Twin)

Parámetros

deviceId
String

Identificador del dispositivo.

moduleId
String

Identificador del módulo.

cancellationToken
CancellationToken

Token de cancelación de tareas.

Devoluciones

Instancia de gemelo.

Se aplica a