ExceptionReceivedEventArgs(Exception, String, String, String, String) Constructor
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.
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
Public Sub New (exception As Exception, action As String, endpoint As String, entityName As String, clientId As String)
Parameters
- exception
- Exception
The exception that this event data belongs to.
- action
- String
The action associated with the event.
- endpoint
- String
The endpoint used when this exception occurred.
- entityName
- String
The entity path used when this exception occurred.
- clientId
- String
The Client Id can be used to associate with the QueueClient, SubscriptionClient, MessageSender or MessageReceiverthat encountered the exception.
Applies to
Azure SDK for .NET