EventHubsException.FailureReason Enum

Definition

The set of well-known reasons for an Event Hubs operation failure that was the cause of an exception.

public enum EventHubsException.FailureReason
type EventHubsException.FailureReason = 
Public Enum EventHubsException.FailureReason
Inheritance
EventHubsException.FailureReason

Fields

ClientClosed 1

An operation has been attempted using an Event Hubs client instance which has already been closed.

ConsumerDisconnected 2

A client was forcefully disconnected from an Event Hub instance. This typically occurs when another consumer with higher OwnerLevel asserts ownership over the partition and consumer group.

GeneralError 0

The exception was the result of a general error within the client library.

InvalidClientState 10

A client is in an invalid state from which it cannot recover. It is recommended that the client be closed and recreated to force reinitialization of state.

MessageSizeExceeded 4

A message is larger than the maximum size allowed for its transport.

ProducerDisconnected 9

A client was forcefully disconnected from an Event Hub instance. This typically occurs when another consumer with higher Azure.Messaging.EventHubs.Producer.PartitionPublishingOptions.OwnerLevel asserts ownership over the partition and producer group.

QuotaExceeded 5

The quota applied to an Event Hubs resource has been exceeded while interacting with the Azure Event Hubs service.

ResourceNotFound 3

An Event Hubs resource, such as an Event Hub, consumer group, or partition cannot be found by the Event Hubs service.

ServiceBusy 6

The Azure Event Hubs service reports that it is busy in response to a client request to perform an operation.

ServiceCommunicationProblem 8

There was a general communications error encountered when interacting with the Azure Event Hubs service.

ServiceTimeout 7

An operation or other request timed out while interacting with the Azure Event Hubs service.

Applies to