Share via


EventHubsException Class

Definition

Serves as a basis for exceptions produced within the Event Hubs context.

public class EventHubsException : Exception
type EventHubsException = class
    inherit Exception
Public Class EventHubsException
Inherits Exception
Inheritance
EventHubsException

Constructors

EventHubsException(Boolean, String, EventHubsException+FailureReason)

Initializes a new instance of the EventHubsException class.

EventHubsException(Boolean, String, String, EventHubsException+FailureReason, Exception)

Initializes a new instance of the EventHubsException class.

EventHubsException(Boolean, String, String, EventHubsException+FailureReason)

Initializes a new instance of the EventHubsException class.

EventHubsException(Boolean, String, String, Exception)

Initializes a new instance of the EventHubsException class.

EventHubsException(Boolean, String, String)

Initializes a new instance of the EventHubsException class.

EventHubsException(Boolean, String)

Initializes a new instance of the EventHubsException class.

EventHubsException(String, String, EventHubsException+FailureReason)

Initializes a new instance of the EventHubsException class, using the reason to detect whether or not it should be transient.

Properties

EventHubName

The name of the Event Hubs to which the exception is associated.

IsTransient

Indicates whether an exception should be considered transient or final.

Message

Gets a message that describes the current exception.

Reason

The reason for the failure of an Event Hubs operation that resulted in the exception.

Methods

ToString()

Converts the instance to string representation.

Applies to

See also