ExceptionReceivedEventArgs ExceptionReceivedEventArgs Class

Provides data for the ExceptionReceived event.

Syntax

Declaration

public sealed class ExceptionReceivedEventArgs : EventArgsPublic NotInheritable Class ExceptionReceivedEventArgs
    Inherits EventArgs

Inheritance Hierarchy

Constructors summary

Initializes a new instance of the ExceptionReceivedEventArgs class.

Properties summary

Gets the action associated with the event.

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

Constructors

  • ExceptionReceivedEventArgs(Exception, String)
    ExceptionReceivedEventArgs(Exception, String)

    Initializes a new instance of the ExceptionReceivedEventArgs class.

    public ExceptionReceivedEventArgs(Exception exception, string action)Public Sub New(exception As Exception, action As String)

    Parameters

Properties

  • Action
    Action

    Gets the action associated with the event.

    public string Action { get; }Public ReadOnly Property Action As String

    Property Value

  • Exception
    Exception

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

    public Exception Exception { get; }Public ReadOnly Property Exception As Exception

    Property Value

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

Details

Namespace

Microsoft.ServiceBus.Messaging

Assembly

Microsoft.ServiceBus.dll