Share via


ServiceBusException Constructors

Definition

Overloads

ServiceBusException(Boolean)

Returns a new ServiceBusException

ServiceBusException(Boolean, Exception)

Returns a new ServiceBusException

ServiceBusException(Boolean, String)

Returns a new ServiceBusException

ServiceBusException(Boolean, String, Exception)

Returns a new ServiceBusException

ServiceBusException(Boolean)

Source:
ServiceBusException.cs

Returns a new ServiceBusException

public ServiceBusException (bool isTransient);
new Microsoft.Azure.ServiceBus.ServiceBusException : bool -> Microsoft.Azure.ServiceBus.ServiceBusException
Public Sub New (isTransient As Boolean)

Parameters

isTransient
Boolean

Specifies whether or not the exception is transient.

Applies to

ServiceBusException(Boolean, Exception)

Source:
ServiceBusException.cs

Returns a new ServiceBusException

public ServiceBusException (bool isTransient, Exception innerException);
new Microsoft.Azure.ServiceBus.ServiceBusException : bool * Exception -> Microsoft.Azure.ServiceBus.ServiceBusException
Public Sub New (isTransient As Boolean, innerException As Exception)

Parameters

isTransient
Boolean

Specifies whether or not the exception is transient.

innerException
Exception

Applies to

ServiceBusException(Boolean, String)

Source:
ServiceBusException.cs

Returns a new ServiceBusException

public ServiceBusException (bool isTransient, string message);
new Microsoft.Azure.ServiceBus.ServiceBusException : bool * string -> Microsoft.Azure.ServiceBus.ServiceBusException
Public Sub New (isTransient As Boolean, message As String)

Parameters

isTransient
Boolean

Specifies whether or not the exception is transient.

message
String

The detailed message exception.

Applies to

ServiceBusException(Boolean, String, Exception)

Source:
ServiceBusException.cs

Returns a new ServiceBusException

public ServiceBusException (bool isTransient, string message, Exception innerException);
new Microsoft.Azure.ServiceBus.ServiceBusException : bool * string * Exception -> Microsoft.Azure.ServiceBus.ServiceBusException
Public Sub New (isTransient As Boolean, message As String, innerException As Exception)

Parameters

isTransient
Boolean

Specifies whether or not the exception is transient.

message
String

The detailed message exception.

innerException
Exception

Applies to