Sdílet prostřednictvím


MessageHandlerOptions.ExceptionReceivedHandler Property

Definition

Occurs when an exception is received. Enables you to be notified of any errors encountered by the message pump. When errors are received calls will automatically be retried, so this is informational.

public Func<Microsoft.Azure.ServiceBus.ExceptionReceivedEventArgs,System.Threading.Tasks.Task> ExceptionReceivedHandler { get; }
member this.ExceptionReceivedHandler : Func<Microsoft.Azure.ServiceBus.ExceptionReceivedEventArgs, System.Threading.Tasks.Task>
Public ReadOnly Property ExceptionReceivedHandler As Func(Of ExceptionReceivedEventArgs, Task)

Property Value

Applies to