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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET