Note

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

Access to this page requires authorization. You can try .

ServiceBusException Class

Definition

Namespace:
Azure.Messaging.ServiceBus
Assembly:
Azure.Messaging.ServiceBus.dll
Package:
Azure.Messaging.ServiceBus v7.20.1
Package:
Azure.Messaging.ServiceBus v7.18.0-beta.1
Source:
ServiceBusException.cs
Source:
ServiceBusException.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 Service Bus context.

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

Constructors

Name Description
ServiceBusException()
ServiceBusException(Boolean, String, String, ServiceBusFailureReason, Exception)

Initializes a new instance of the ServiceBusException class.

ServiceBusException(String, ServiceBusFailureReason, String, Exception)

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

Properties

Name Description
EntityPath

The name of the Service Bus 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 Service Bus operation that resulted in the exception.

Applies to

See also


Feedback

Was this page helpful?