Sdílet prostřednictvím


DeviceMaximumQueueDepthExceededException Class

Definition

This exception actually corresponds to IoTHubQuotaExceeded. For more information on what causes this error and steps to resolve, see https://docs.microsoft.com/azure/iot-hub/iot-hub-troubleshoot-error-403002-iothubquotaexceeded. The exception type has not been changed to avoid breaking changes but the inner exception has the correct exception type.

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

Constructors

DeviceMaximumQueueDepthExceededException()

Initializes a new instance of the class with the message string containing the identifier of the already existing device.

DeviceMaximumQueueDepthExceededException(Int32)

Initializes a new instance of the class with the message string containing the identifier of the already existing device.

DeviceMaximumQueueDepthExceededException(String)

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

DeviceMaximumQueueDepthExceededException(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