Share via


IotHubThrottledException Class

Definition

This exception is thrown when the requests to the IoT hub exceed the limits based on the tier of the hub. Retrying with exponential back-off could resolve this error.

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

Remarks

For information on the IoT hub quotas and throttling, see https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-quotas-throttling.

Constructors

IotHubThrottledException(Int32)

Creates an instance of this class with the value of the maximum allowed count of active requests and marks it as non-transient.

IotHubThrottledException(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 non-transient.

Properties

Code

The error code associated with the exception.

(Inherited from IotHubException)
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