共用方式為


EventHubsException Class

Definition

Base Exception for various Event Hubs errors.

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

Constructors

EventHubsException(Boolean, Exception)

Returns a new EventHubsException

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

Returns a new EventHubsException

EventHubsException(Boolean, String, Exception)

Returns a new EventHubsException

EventHubsException(Boolean, String)

Returns a new EventHubsException

EventHubsException(Boolean)

Returns a new EventHubsException

Properties

ErrorSource

Gets the error source.

EventHubsNamespace

Gets the Event Hubs namespace from which the exception occured, if available.

IsTransient

A boolean indicating if the exception is a transient error or not.

Message

Gets the message as a formatted string.

Applies to