Share via


IotHubThrottledException Class

Definition

The exception that is thrown when the service requires exponential back-off because it has exceeded the maximum number of allowed active requests.

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

Constructors

IotHubThrottledException()

Initializes a new instance of the IotHubThrottledException class.

IotHubThrottledException(Int32)

Initializes a new instance of the IotHubThrottledException class with the message string containing the maximum count of active requests.

IotHubThrottledException(String, Exception)

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

IotHubThrottledException(String)

Initializes a new instance of the IotHubThrottledException 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 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