ServiceBusSessionProcessor.OnProcessErrorAsync(ProcessErrorEventArgs) 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.
Invokes the error event handler when an error has occurred during processing. This method can be overridden to raise an event manually for testing purposes.
protected internal virtual System.Threading.Tasks.Task OnProcessErrorAsync (Azure.Messaging.ServiceBus.ProcessErrorEventArgs args);
abstract member OnProcessErrorAsync : Azure.Messaging.ServiceBus.ProcessErrorEventArgs -> System.Threading.Tasks.Task
override this.OnProcessErrorAsync : Azure.Messaging.ServiceBus.ProcessErrorEventArgs -> System.Threading.Tasks.Task
Protected Friend Overridable Function OnProcessErrorAsync (args As ProcessErrorEventArgs) As Task
Parameters
The event args containing information related to the error.