IEventProcessor.ProcessErrorAsync(PartitionContext, Exception) Method

Definition

Called when the underlying client experiences an error while receiving. EventProcessorHost will take care of recovering from the error and continuing to pump messages, so no action is required from your code. This method is provided for informational purposes.

public System.Threading.Tasks.Task ProcessErrorAsync (Microsoft.Azure.EventHubs.Processor.PartitionContext context, Exception error);
abstract member ProcessErrorAsync : Microsoft.Azure.EventHubs.Processor.PartitionContext * Exception -> System.Threading.Tasks.Task
Public Function ProcessErrorAsync (context As PartitionContext, error As Exception) As Task

Parameters

context
PartitionContext

Information about the partition.

error
Exception

The error that occured.

Returns

Task

Applies to