你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

Name Description
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

Name Description
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