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. |
| ServerErrorException(String, Exception) |
Initializes a new instance of the ServerErrorException class. |
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.
public ServerErrorException(string message);
new Microsoft.Azure.Devices.Client.Exceptions.ServerErrorException : string -> Microsoft.Azure.Devices.Client.Exceptions.ServerErrorException
Public Sub New (message As String)
Parameters
- message
- System.String
The error message.
Applies to
ServerErrorException(String, Exception)
Initializes a new instance of the ServerErrorException class.
public ServerErrorException(string message, Exception innerException);
new Microsoft.Azure.Devices.Client.Exceptions.ServerErrorException : string * Exception -> Microsoft.Azure.Devices.Client.Exceptions.ServerErrorException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- System.String
The error message.
- innerException
- System.Exception
The System.Exception instance that caused the current exception.