你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeviceMaximumQueueDepthExceededException 类

定义

此异常实际上对应于 IoTHubQuotaExceeded。 有关导致此错误的原因和解决步骤的详细信息,请参阅 https://docs.microsoft.com/azure/iot-hub/iot-hub-troubleshoot-error-403002-iothubquotaexceeded。 未更改异常类型以避免中断性变更,但内部异常具有正确的异常类型。

[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
继承
DeviceMaximumQueueDepthExceededException
属性

构造函数

DeviceMaximumQueueDepthExceededException()

使用包含现有设备的标识符的消息字符串初始化 类的新实例。

DeviceMaximumQueueDepthExceededException(Int32)

使用包含现有设备的标识符的消息字符串初始化 类的新实例。

DeviceMaximumQueueDepthExceededException(String)

使用消息字符串设置为 message 参数初始化 类的新实例。

DeviceMaximumQueueDepthExceededException(String, Exception)

初始化 类的新实例,并将消息字符串设置为 message 参数,并引用导致此异常的内部异常。

属性

IsTransient

指示错误是否为暂时性错误,应重试。

(继承自 IotHubException)
TrackingId

服务返回与此特定错误关联的跟踪 ID。

(继承自 IotHubException)

方法

GetObjectData(SerializationInfo, StreamingContext)

使用关于异常的信息设置 SerializationInfo。 使用此项可对序列化对象数据设置 IsTransientTrackingId

(继承自 IotHubException)

适用于