共用方式為


OnMessageOptions.ExceptionReceived Event

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 event EventHandler<Microsoft.ServiceBus.Messaging.ExceptionReceivedEventArgs> ExceptionReceived;
member this.ExceptionReceived : EventHandler<Microsoft.ServiceBus.Messaging.ExceptionReceivedEventArgs> 
Public Event ExceptionReceived As EventHandler(Of ExceptionReceivedEventArgs) 

Event Type

Applies to