IPartitionReceiveHandler Interface
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.
A handler interface for the receive operation. Use any implementation of this interface to specify user action when using SetReceiveHandler(IPartitionReceiveHandler, Boolean).
public interface IPartitionReceiveHandler
type IPartitionReceiveHandler = interface
Public Interface IPartitionReceiveHandler
Properties
MaxBatchSize |
Gets or sets the maximum batch size. |
Methods
ProcessErrorAsync(Exception) |
Implement in order to handle exceptions that are thrown during receipt of events. |
ProcessEventsAsync(IEnumerable<EventData>) |
Users should implement this method to specify the action to be performed on the received events. |
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för