RegistryManager.GetDeviceAsync Método

Definición

Sobrecargas

GetDeviceAsync(String)

Recupera el objeto Device especificado.

GetDeviceAsync(String, CancellationToken)

Recupera el objeto Device especificado.

GetDeviceAsync(String)

Recupera el objeto Device especificado.

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

Parámetros

deviceId
String

Identificador del dispositivo que se va a recuperar.

Devoluciones

Objeto Device.

Se aplica a

GetDeviceAsync(String, CancellationToken)

Recupera el objeto Device especificado.

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

Parámetros

deviceId
String

Identificador del dispositivo que se va a recuperar.

cancellationToken
CancellationToken

Token que permite cancelar la operación.

Devoluciones

Objeto Device.

Se aplica a