RegistryManager.AddConfigurationAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddConfigurationAsync(Configuration) |
Register a new Configuration for Azure IoT Edge in IoT hub |
AddConfigurationAsync(Configuration, CancellationToken) |
Register a new Configuration for Azure IoT Edge in IoT hub |
AddConfigurationAsync(Configuration)
Register a new Configuration for Azure IoT Edge in IoT hub
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)
Parameters
- configuration
- Configuration
The Configuration object being registered.
Returns
The Configuration object.
Applies to
AddConfigurationAsync(Configuration, CancellationToken)
Register a new Configuration for Azure IoT Edge in IoT hub
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)
Parameters
- configuration
- Configuration
The Configuration object being registered.
- cancellationToken
- CancellationToken
The token which allows the operation to be canceled.
Returns
The Configuration object.
Applies to
Azure SDK for .NET