Share via


IotHubSuspendedException Class

Definition

The exception that is thrown when the IoT Hub has been suspended.

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

Constructors

IotHubSuspendedException()

Initializes a new instance of the IotHubSuspendedException class.

IotHubSuspendedException(SerializationInfo, StreamingContext)

Creates an instance of IotHubSuspendedException with the System.Runtime.Serialization.SerializationInfo and System.Runtime.Serialization.StreamingContext associated with the exception.

IotHubSuspendedException(String, Exception)

Initializes a new instance of the IotHubSuspendedException 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 IotHubSuspendedException class.

IotHubSuspendedException(String)

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