Share via


ServiceBusOptions.ProcessErrorAsync Property

Definition

Gets or sets an optional error handler that will be invoked if an exception occurs while attempting to process a message. This does not apply for functions that receive a batch of messages.

public Func<Azure.Messaging.ServiceBus.ProcessErrorEventArgs,System.Threading.Tasks.Task> ProcessErrorAsync { get; set; }
member this.ProcessErrorAsync : Func<Azure.Messaging.ServiceBus.ProcessErrorEventArgs, System.Threading.Tasks.Task> with get, set
Public Property ProcessErrorAsync As Func(Of ProcessErrorEventArgs, Task)

Property Value

Applies to