Share via


ServerErrorException Constructors

Definition

Overloads

ServerErrorException()

Initializes a new instance of the class.

ServerErrorException(String)

Initializes a new instance of the class.

ServerErrorException(String, Exception)

Initializes a new instance of the class.

ServerErrorException()

Initializes a new instance of the class.

public ServerErrorException ();
Public Sub New ()

Applies to

ServerErrorException(String)

Initializes a new instance of the 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
String

The error message.

Applies to

ServerErrorException(String, Exception)

Initializes a new instance of the 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
String

The error message.

innerException
Exception

The exception instance that caused the current exception.

Applies to