IotHubSuspendedException Class
Definition
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.
This exception is thrown when the IoT hub has been suspended. This is likely due to exceeding Azure spending limits. To resolve the error, check the Azure bill and ensure there are enough credits.
[System.Serializable]
public class IotHubSuspendedException : Microsoft.Azure.Devices.Client.Exceptions.IotHubException
[<System.Serializable>]
type IotHubSuspendedException = class
inherit IotHubException
Public Class IotHubSuspendedException
Inherits IotHubException
- Inheritance
- Attributes
Constructors
IotHubSuspendedException() |
Initializes a new instance of the class. |
IotHubSuspendedException(SerializationInfo, StreamingContext) |
Creates an instance of with the SerializationInfo and StreamingContext associated with the exception. |
IotHubSuspendedException(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. |
IotHubSuspendedException(String, String) |
Initializes a new instance of the class. |
IotHubSuspendedException(String) |
Initializes a new instance of the class. |
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) |