Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

EventHubsException Class

Definition

Namespace:
Azure.Messaging.EventHubs
Assembly:
Azure.Messaging.EventHubs.dll
Package:
Azure.Messaging.EventHubs v5.12.2
Package:
Azure.Messaging.EventHubs v5.12.0-beta.2
Source:
EventHubsException.cs
Source:
EventHubsException.cs

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.

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

Name Description
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

Name Description
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

Name Description
ToString()

Converts the instance to string representation.

Applies to

See also


Feedback

Was this page helpful?