Condividi tramite


MessageFeedbackProcessorClient Class

Definition

Subclient of IotHubServiceClient for receiving cloud-to-device message feedback.

public class MessageFeedbackProcessorClient : IDisposable
type MessageFeedbackProcessorClient = class
    interface IDisposable
Public Class MessageFeedbackProcessorClient
Implements IDisposable
Inheritance
MessageFeedbackProcessorClient
Implements

Constructors

MessageFeedbackProcessorClient()

Creates an instance of this class. Provided for unit testing purposes only.

Properties

ErrorProcessor

The callback to be executed when the connection is lost.

MessageFeedbackProcessor

The callback to be executed each time message feedback is received from the service.

Methods

CloseAsync(CancellationToken)

Close the connection and stop receiving acknowledgments for messages sent.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

OpenAsync(CancellationToken)

Open the connection and start receiving acknowledgements for messages sent.

Applies to