ServiceBusException Class

Definition

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.

C#
public class ServiceBusException : Exception
Inheritance
ServiceBusException

Constructors

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

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

Product Versions
Azure SDK for .NET Latest, Preview

See also