Table of Contents

Class ExceptionReceivedEventArgs

Namespace
Microsoft.ServiceBus.Messaging
Assembly
Microsoft.ServiceBus.dll

Provides data for the ExceptionReceived event.

public sealed class ExceptionReceivedEventArgs : EventArgs
Inheritance
ExceptionReceivedEventArgs
Inherited Members

Constructors

ExceptionReceivedEventArgs(Exception, string)

Initializes a new instance of the ExceptionReceivedEventArgs class.

public ExceptionReceivedEventArgs(Exception exception, string action)

Parameters

exception Exception

The exception that this event data belongs to.

action string

The action associated with the event.

Properties

Action

Gets the action associated with the event.

public string Action { get; }

Property Value

string

The action associated with the event.

Exception

Gets the parent class exception to which this event data belongs.

public Exception Exception { get; }

Property Value

Exception

The exception, generated by the parent class, to which this event data belongs.