ServerErrorException ServerErrorException ServerErrorException Constructors

Definition

Overloads

ServerErrorException() ServerErrorException()

Initializes a new instance of the ServerErrorException class.

ServerErrorException(String) ServerErrorException(String) ServerErrorException(String)

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

ServerErrorException(SerializationInfo, StreamingContext) ServerErrorException(SerializationInfo, StreamingContext) ServerErrorException(SerializationInfo, StreamingContext)

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

ServerErrorException(String, Exception) ServerErrorException(String, Exception) ServerErrorException(String, Exception)

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

ServerErrorException() ServerErrorException()

Initializes a new instance of the ServerErrorException class.

public ServerErrorException ();
Public Sub New ()

ServerErrorException(String) ServerErrorException(String) ServerErrorException(String)

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

public ServerErrorException (string message);
new Microsoft.ServiceBus.ServerErrorException : string -> Microsoft.ServiceBus.ServerErrorException
Public Sub New (message As String)

Parameters

message
String String String

The error message that describes this exception.

ServerErrorException(SerializationInfo, StreamingContext) ServerErrorException(SerializationInfo, StreamingContext) ServerErrorException(SerializationInfo, StreamingContext)

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

protected ServerErrorException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.ServiceBus.ServerErrorException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.ServiceBus.ServerErrorException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo

Holds the serialized object data about the exception being thrown.

context
StreamingContext StreamingContext StreamingContext

The contextual information about the source or destination.

ServerErrorException(String, Exception) ServerErrorException(String, 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);
new Microsoft.ServiceBus.ServerErrorException : string * Exception -> Microsoft.ServiceBus.ServerErrorException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String String String

The error message that describes this exception.

innerException
Exception Exception Exception

The exception that caused the current exception to be thrown.

Applies to