Share via


QuotaExceededException Constructors

Definition

Overloads

QuotaExceededException(String)

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

QuotaExceededException(ErrorCode, String)

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

QuotaExceededException(String, Exception)

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

QuotaExceededException(String)

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

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

Parameters

message
String

The message that describes the error.

Applies to

QuotaExceededException(ErrorCode, String)

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

public QuotaExceededException (Microsoft.Azure.Devices.Common.Exceptions.ErrorCode code, string message);
new Microsoft.Azure.Devices.Common.Exceptions.QuotaExceededException : Microsoft.Azure.Devices.Common.Exceptions.ErrorCode * string -> Microsoft.Azure.Devices.Common.Exceptions.QuotaExceededException
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

QuotaExceededException(String, Exception)

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

public QuotaExceededException (string message, Exception innerException);
new Microsoft.Azure.Devices.Common.Exceptions.QuotaExceededException : string * Exception -> Microsoft.Azure.Devices.Common.Exceptions.QuotaExceededException
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