ServerErrorException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ServerErrorException() |
Initializes a new instance of the ServerErrorException class. |
ServerErrorException(String) |
Initializes a new instance of the ServerErrorException class with the specified error message. |
ServerErrorException(SerializationInfo, StreamingContext) |
Initializes a new instance of the ServerErrorException class with the specified serialization information and streaming context. |
ServerErrorException(String, Exception) |
Initializes a new instance of the ServerErrorException class with the specified error message and inner exception. |
ServerErrorException()
Initializes a new instance of the ServerErrorException class.
public ServerErrorException ();
Public Sub New ()
Applies to
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
The error message that describes this exception.
Applies to
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
Holds the serialized object data about the exception being thrown.
- context
- StreamingContext
The contextual information about the source or destination.
Applies to
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
The error message that describes this exception.
- innerException
- Exception
The exception that caused the current exception to be thrown.
Applies to
Azure SDK for .NET