Compartir a través de


RegistryManager.RemoveDeviceAsync Método

Definición

Sobrecargas

RemoveDeviceAsync(String, CancellationToken)

Elimina un dispositivo registrado previamente del sistema.

RemoveDeviceAsync(Device, CancellationToken)

Elimina un dispositivo registrado previamente del sistema.

RemoveDeviceAsync(Device)

Elimina un dispositivo registrado previamente del sistema.

RemoveDeviceAsync(String)

Elimina un dispositivo registrado previamente del sistema.

RemoveDeviceAsync(String, CancellationToken)

Elimina un dispositivo registrado previamente del sistema.

public virtual System.Threading.Tasks.Task RemoveDeviceAsync (string deviceId, System.Threading.CancellationToken cancellationToken);
abstract member RemoveDeviceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemoveDeviceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function RemoveDeviceAsync (deviceId As String, cancellationToken As CancellationToken) As Task

Parámetros

deviceId
String

Identificador del dispositivo que se va a eliminar.

cancellationToken
CancellationToken

Token que permite cancelar la operación.

Devoluciones

Se aplica a

RemoveDeviceAsync(Device, CancellationToken)

Elimina un dispositivo registrado previamente del sistema.

public virtual System.Threading.Tasks.Task RemoveDeviceAsync (Microsoft.Azure.Devices.Device device, System.Threading.CancellationToken cancellationToken);
abstract member RemoveDeviceAsync : Microsoft.Azure.Devices.Device * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemoveDeviceAsync : Microsoft.Azure.Devices.Device * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function RemoveDeviceAsync (device As Device, cancellationToken As CancellationToken) As Task

Parámetros

device
Device

Dispositivo que se va a eliminar.

cancellationToken
CancellationToken

Token que permite cancelar la operación.

Devoluciones

Se aplica a

RemoveDeviceAsync(Device)

Elimina un dispositivo registrado previamente del sistema.

public virtual System.Threading.Tasks.Task RemoveDeviceAsync (Microsoft.Azure.Devices.Device device);
abstract member RemoveDeviceAsync : Microsoft.Azure.Devices.Device -> System.Threading.Tasks.Task
override this.RemoveDeviceAsync : Microsoft.Azure.Devices.Device -> System.Threading.Tasks.Task
Public Overridable Function RemoveDeviceAsync (device As Device) As Task

Parámetros

device
Device

Dispositivo que se va a eliminar.

Devoluciones

Se aplica a

RemoveDeviceAsync(String)

Elimina un dispositivo registrado previamente del sistema.

public virtual System.Threading.Tasks.Task RemoveDeviceAsync (string deviceId);
abstract member RemoveDeviceAsync : string -> System.Threading.Tasks.Task
override this.RemoveDeviceAsync : string -> System.Threading.Tasks.Task
Public Overridable Function RemoveDeviceAsync (deviceId As String) As Task

Parámetros

deviceId
String

Identificador del dispositivo que se va a eliminar.

Devoluciones

Se aplica a