Microsoft.Azure.Devices.Client.Exceptions Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
DeviceMaximumQueueDepthExceededException |
The exception that is thrown when an attempt to enqueue a message fails because the message queue for the device is already full. |
DeviceMessageLockLostException |
The exception that is thrown when an attempt to communicate with a device fails because the lock token was lost (if the connection is lost and regained for example). This timeout has the same effect as if the message was abandonned. |
DeviceNotFoundException |
The exception that is thrown when an attempt to communicate with a device fails because the given device identifier cannot be found. |
IotHubCommunicationException |
The exception that is thrown when an attempt to communicate with the IoT Hub service fails. |
IotHubException |
The exception that is thrown when an error occurs during DeviceClient or ModuleClient operation. |
IotHubSuspendedException |
The exception that is thrown when the IoT Hub has been suspended. |
IotHubThrottledException |
The exception that is thrown when the service requires exponential back-off because it has exceeded the maximum number of allowed active requests. |
MessageTooLargeException |
The exception that is thrown when an attempt to send a message fails because the length of the message exceeds the maximum size allowed. |
QuotaExceededException |
The exception that is thrown when an attempt to add a device fails because the maximum number of registered devices has been reached. |
ServerBusyException |
The exception that is thrown when the IoT Hub is busy. |
ServerErrorException |
The exception that is thrown when the IoT Hub returned an error code. |
UnauthorizedException |
The exception that is thrown if the current operation was not authorized. |