다음을 통해 공유


DirectMethodsClient Class

Definition

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