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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ