IEventProcessor.ProcessErrorAsync(PartitionContext, Exception) Method
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.
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
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET