IotHubBaseClient Class
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.
Contains methods that a client can use to send messages to and receive messages from the service, respond to direct method invocations from the service, and send and receive twin property updates.
public abstract class IotHubBaseClient : IDisposable
type IotHubBaseClient = class
interface IDisposable
Public MustInherit Class IotHubBaseClient
Implements IDisposable
- Inheritance
-
IotHubBaseClient
- Derived
- Implements
Connection |
The callback to be executed each time connection status change notification is received. |
Connection |
The latest connection status information since the last status change. |
Close |
Close the client instance. |
Dispose() |
Releases the unmanaged resources used by the client and optionally disposes of the managed resources. |
Dispose(Boolean) |
Releases the unmanaged resources used by the client and allows for any derived class to override and provide custom implementation. |
Get |
Retrieve the twin properties for the current client. |
Open |
Open the client instance. Must be done before any operation can begin. |
Send |
Sends a telemetry message to IoT hub. |
Send |
Sends a batch of telemetry message to IoT hub. |
Set |
Set a callback that will be called whenever the client receives a desired state update from the service. The client instance must be opened already. |
Set |
Sets the callback for all direct method calls from the service. This instance must be opened already. |
Set |
Sets a callback for receiving a message from the device or module queue using a cancellation token. This instance must be opened already. |
Update |
Push reported property changes up to the service. |
Umpan balik Azure SDK for .NET
Azure SDK for .NET adalah proyek sumber terbuka. Pilih tautan untuk memberikan umpan balik: