IotHubClientException Class

Definition

The exception that is thrown when an error occurs during DeviceClient or ModuleClient operation.

[System.Serializable]
public class IotHubClientException : Exception
[<System.Serializable>]
type IotHubClientException = class
    inherit Exception
Public Class IotHubClientException
Inherits Exception
Inheritance
IotHubClientException
Attributes

Constructors

IotHubClientException()

Creates an instance of this class.

IotHubClientException(SerializationInfo, StreamingContext)

Creates an instance of this class.

IotHubClientException(String, Boolean, Exception)

Creates an instance of this class.

IotHubClientException(String, Boolean, String, Exception)

Creates an instance of this class.

IotHubClientException(String, Exception)

Creates an instance of this class.

IotHubClientException(String, IotHubClientErrorCode, Exception)

Creates an instance of this class.

IotHubClientException(String, String, IotHubClientErrorCode, Exception)

Creates an instance of this class.

Properties

ErrorCode

The specific error code.

IsTransient

Indicates if the error is transient and should be retried.

TrackingId

The service returned tracking Id associated with this particular error.

Applies to