Partilhar via


RegistryManager.AddConfigurationAsync Método

Definição

Sobrecargas

AddConfigurationAsync(Configuration)

Registrar uma nova configuração para o Azure IoT Edge no Hub IoT

AddConfigurationAsync(Configuration, CancellationToken)

Registrar uma nova configuração para o Azure IoT Edge no Hub IoT

AddConfigurationAsync(Configuration)

Registrar uma nova configuração para o Azure IoT Edge no Hub IoT

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration> AddConfigurationAsync (Microsoft.Azure.Devices.Configuration configuration);
abstract member AddConfigurationAsync : Microsoft.Azure.Devices.Configuration -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration>
override this.AddConfigurationAsync : Microsoft.Azure.Devices.Configuration -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration>
Public Overridable Function AddConfigurationAsync (configuration As Configuration) As Task(Of Configuration)

Parâmetros

configuration
Configuration

O objeto Configuration que está sendo registrado.

Retornos

O objeto Configuration.

Aplica-se a

AddConfigurationAsync(Configuration, CancellationToken)

Registrar uma nova configuração para o Azure IoT Edge no Hub IoT

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration> AddConfigurationAsync (Microsoft.Azure.Devices.Configuration configuration, System.Threading.CancellationToken cancellationToken);
abstract member AddConfigurationAsync : Microsoft.Azure.Devices.Configuration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration>
override this.AddConfigurationAsync : Microsoft.Azure.Devices.Configuration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Devices.Configuration>
Public Overridable Function AddConfigurationAsync (configuration As Configuration, cancellationToken As CancellationToken) As Task(Of Configuration)

Parâmetros

configuration
Configuration

O objeto Configuration que está sendo registrado.

cancellationToken
CancellationToken

O token que permite que a operação seja cancelada.

Retornos

O objeto Configuration.

Aplica-se a