Share via


QuotaExceededException Class

Definition

The exception that is thrown when an attempt to add a device fails because the maximum number of registered devices has been reached.

[System.Serializable]
public sealed class QuotaExceededException : Microsoft.Azure.Devices.Client.Exceptions.IotHubException
[<System.Serializable>]
type QuotaExceededException = class
    inherit IotHubException
Public NotInheritable Class QuotaExceededException
Inherits IotHubException
Inheritance
System.Exception
QuotaExceededException
Attributes
System.SerializableAttribute

Constructors

QuotaExceededException()

Initializes a new instance of the QuotaExceededException class.

QuotaExceededException(String, Exception)

Initializes a new instance of the QuotaExceededException class with the message string set to the message parameter and a reference to the inner exception that is the cause of this exception.

QuotaExceededException(String)

Initializes a new instance of the QuotaExceededException class with the message string set to the message parameter.

Properties

IsTransient

Indicates if the error is transient and should be retried.

(Inherited from IotHubException)
TrackingId

The service returned tracking Id associated with this particular error.

(Inherited from IotHubException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the System.Runtime.Serialization.SerializationInfo with information about the exception. Use this to set IsTransient and TrackingId to the serialized object data.

(Inherited from IotHubException)

Applies to