你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceBusException Class

Definition

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

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

See also