Table of Contents

Class ServerErrorException

Namespace
Microsoft.ServiceBus
Assembly
Microsoft.ServiceBus.dll

An exception that is thrown by the Azure Service Bus when an error occurs while processing a request.

public class ServerErrorException : Exception, ISerializable
Inheritance
ServerErrorException
Implements
Inherited Members
Extension Methods

Constructors

ServerErrorException()

Initializes a new instance of the ServerErrorException class.

public ServerErrorException()

ServerErrorException(SerializationInfo, StreamingContext)

Initializes a new instance of the ServerErrorException class with the specified serialization information and streaming context.

protected ServerErrorException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

Holds the serialized object data about the exception being thrown.

context StreamingContext

The contextual information about the source or destination.

ServerErrorException(string)

Initializes a new instance of the ServerErrorException class with the specified error message.

public ServerErrorException(string message)

Parameters

message string

The error message that describes this exception.

ServerErrorException(string, Exception)

Initializes a new instance of the ServerErrorException class with the specified error message and inner exception.

public ServerErrorException(string message, Exception innerException)

Parameters

message string

The error message that describes this exception.

innerException Exception

The exception that caused the current exception to be thrown.