Delen via


ServerBusyException Constructors

Definition

Overloads

ServerBusyException(String)

Creates an instance of ServerBusyException with a specified error message and marks it as transient.

ServerBusyException(ErrorCode, String)

Creates an instance of ServerBusyException with a specified ErrorCode, error message and marks it as transient.

ServerBusyException(String, Exception)

Creates an instance of ServerBusyException with a specified error message and a reference to the inner exception that caused this exception, and marks it as transient.

ServerBusyException(String)

Creates an instance of ServerBusyException with a specified error message and marks it as transient.

public ServerBusyException (string message);
new Microsoft.Azure.Devices.Common.Exceptions.ServerBusyException : string -> Microsoft.Azure.Devices.Common.Exceptions.ServerBusyException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

ServerBusyException(ErrorCode, String)

Creates an instance of ServerBusyException with a specified ErrorCode, error message and marks it as transient.

public ServerBusyException (Microsoft.Azure.Devices.Common.Exceptions.ErrorCode code, string message);
new Microsoft.Azure.Devices.Common.Exceptions.ServerBusyException : Microsoft.Azure.Devices.Common.Exceptions.ErrorCode * string -> Microsoft.Azure.Devices.Common.Exceptions.ServerBusyException
Public Sub New (code As ErrorCode, message As String)

Parameters

code
ErrorCode

The ErrorCode associated with the error.

message
String

The message that describes the error.

Applies to

ServerBusyException(String, Exception)

Creates an instance of ServerBusyException with a specified error message and a reference to the inner exception that caused this exception, and marks it as transient.

public ServerBusyException (string message, Exception innerException);
new Microsoft.Azure.Devices.Common.Exceptions.ServerBusyException : string * Exception -> Microsoft.Azure.Devices.Common.Exceptions.ServerBusyException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message that describes the error.

innerException
Exception

The exception that is the cause of the current exception.

Applies to