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.

C#
protected internal virtual System.Threading.Tasks.Task OnProcessErrorAsync(Azure.Messaging.ServiceBus.ProcessErrorEventArgs args);

Parameters

args
ProcessErrorEventArgs

The event args containing information related to the error.

Returns

Applies to

Product Versions
Azure SDK for .NET Latest, Preview