ServerBusyException Class

Definition

The exception that is thrown when the IoT hub is busy.

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

Remarks

This exception typically means the service is unavailable due to high load or an unexpected error and is usually transient. The best course of action is to retry your operation after some time. By default, the SDK will utilize the ExponentialBackoff retry strategy.

Constructors

ServerBusyException()

Initializes a new instance of the class.

ServerBusyException(String, Exception)
ServerBusyException(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)

Applies to