Bagikan melalui


ProvisioningClientException Constructors

Definition

Overloads

ProvisioningClientException(SerializationInfo, StreamingContext)

Creates a new instance of this class.

ProvisioningClientException(String, Boolean)

Creates a new instance of this class.

ProvisioningClientException(String, Exception, Boolean)

Creates a new instance of this class.

ProvisioningClientException(String, Exception, Boolean, Int32, String)

Creates a new instance of this class.

ProvisioningClientException(SerializationInfo, StreamingContext)

Creates a new instance of this class.

protected internal ProvisioningClientException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Azure.Devices.Provisioning.Client.ProvisioningClientException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Azure.Devices.Provisioning.Client.ProvisioningClientException
Protected Friend Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Applies to

ProvisioningClientException(String, Boolean)

Creates a new instance of this class.

protected internal ProvisioningClientException (string message, bool isTransient);
new Microsoft.Azure.Devices.Provisioning.Client.ProvisioningClientException : string * bool -> Microsoft.Azure.Devices.Provisioning.Client.ProvisioningClientException
Protected Friend Sub New (message As String, isTransient As Boolean)

Parameters

message
String

The exception message.

isTransient
Boolean

True if the error is transient.

Applies to

ProvisioningClientException(String, Exception, Boolean)

Creates a new instance of this class.

protected internal ProvisioningClientException (string message, Exception innerException, bool isTransient);
new Microsoft.Azure.Devices.Provisioning.Client.ProvisioningClientException : string * Exception * bool -> Microsoft.Azure.Devices.Provisioning.Client.ProvisioningClientException
Protected Friend Sub New (message As String, innerException As Exception, isTransient As Boolean)

Parameters

message
String

The exception message.

innerException
Exception

The inner exception.

isTransient
Boolean

True if the error is transient.

Applies to

ProvisioningClientException(String, Exception, Boolean, Int32, String)

Creates a new instance of this class.

protected internal ProvisioningClientException (string message, Exception innerException, bool isTransient, int errorCode, string trackingId);
new Microsoft.Azure.Devices.Provisioning.Client.ProvisioningClientException : string * Exception * bool * int * string -> Microsoft.Azure.Devices.Provisioning.Client.ProvisioningClientException
Protected Friend Sub New (message As String, innerException As Exception, isTransient As Boolean, errorCode As Integer, trackingId As String)

Parameters

message
String

The exception message.

innerException
Exception

The inner exception.

isTransient
Boolean

If the error is transient and the application should retry at a later time.

errorCode
Int32

The specific 6-digit error code in the DPS response, if available.

trackingId
String

Service reported tracking Id.

Applies to