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
SerializationInfoHolds the serialized object data about the exception being thrown.
context
StreamingContextThe 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
stringThe 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)