共用方式為


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