Aracılığıyla paylaş


QuotaExceededException Class

Definition

The exception that is thrown by the device client when the daily message quota for the IoT hub is exceeded.

[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
QuotaExceededException
Attributes

Remarks

To resolve this exception please review the Troubleshoot Quota Exceeded guide.

Constructors

QuotaExceededException()

Initializes a new instance of the class.

QuotaExceededException(String)

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

QuotaExceededException(String, Exception)

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

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 SerializationInfo with information about the exception. Use this to set IsTransient and TrackingId to the serialized object data.

(Inherited from IotHubException)

Applies to