DirectMethodsClient 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 to invoke direct methods on devices and modules in IoT hub.
public class DirectMethodsClient
type DirectMethodsClient = class
Public Class DirectMethodsClient
- Inheritance
-
DirectMethodsClient
Constructors
DirectMethodsClient() |
Creates an instance of this class. Provided for unit testing purposes only. |
Methods
InvokeAsync(String, DirectMethodServiceRequest, CancellationToken) |
Invokes a method on a device. |
InvokeAsync(String, String, DirectMethodServiceRequest, CancellationToken) |
Invokes a method on a module. |
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET