ExceptionReceivedEventArgs(Exception, String, String, String, String) Constructor

Definition

Initializes a new instance of the ExceptionReceivedEventArgs class.

public ExceptionReceivedEventArgs (Exception exception, string action, string endpoint, string entityName, string clientId);
new Microsoft.Azure.ServiceBus.ExceptionReceivedEventArgs : Exception * string * string * string * string -> Microsoft.Azure.ServiceBus.ExceptionReceivedEventArgs

Parameters

exception
System.Exception

The exception that this event data belongs to.

action
System.String

The action associated with the event.

endpoint
System.String

The endpoint used when this exception occurred.

entityName
System.String

The entity path used when this exception occurred.

clientId
System.String

The Client Id can be used to associate with the QueueClient, SubscriptionClient, MessageSender or MessageReceiverthat encountered the exception.

Applies to