ModulesClient Class
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.
Subclient of IotHubServiceClient that handles all module registry operations including getting/creating/setting/deleting module identities.
public class ModulesClient
type ModulesClient = class
Public Class ModulesClient
- Inheritance
-
ModulesClient
Constructors
ModulesClient() |
Creates an instance of this class. Provided for unit testing purposes only. |
Methods
CreateAsync(Module, CancellationToken) |
Create a module identity in your IoT hub's registry. |
DeleteAsync(Module, Boolean, CancellationToken) |
Delete the module identity from your IoT hub's registry. |
DeleteAsync(String, String, CancellationToken) |
Delete the module identity with the provided Id from the device with the provided Id from your IoT hub's registry. |
GetAsync(String, String, CancellationToken) |
Get a module identity by its Id and by the Id of the device it is registered on. |
SetAsync(Module, Boolean, CancellationToken) |
Replace a module identity's state with the provided module identity's state. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기