Share via


ProvisioningServiceException Constructors

Definition

Overloads

ProvisioningServiceException(Exception)

Creates an instance of this class.

ProvisioningServiceException(String)

Creates an instance of this class.

ProvisioningServiceException(String, Boolean)

Creates an instance of this class.

ProvisioningServiceException(Exception)

Creates an instance of this class.

public ProvisioningServiceException (Exception innerException);
new Microsoft.Azure.Devices.Provisioning.Service.ProvisioningServiceException : Exception -> Microsoft.Azure.Devices.Provisioning.Service.ProvisioningServiceException
Public Sub New (innerException As Exception)

Parameters

innerException
Exception

The inner exception.

Applies to

ProvisioningServiceException(String)

Creates an instance of this class.

public ProvisioningServiceException (string message);
new Microsoft.Azure.Devices.Provisioning.Service.ProvisioningServiceException : string -> Microsoft.Azure.Devices.Provisioning.Service.ProvisioningServiceException
Public Sub New (message As String)

Parameters

message
String

The message.

Applies to

ProvisioningServiceException(String, Boolean)

Creates an instance of this class.

public ProvisioningServiceException (string message, bool isTransient);
new Microsoft.Azure.Devices.Provisioning.Service.ProvisioningServiceException : string * bool -> Microsoft.Azure.Devices.Provisioning.Service.ProvisioningServiceException
Public Sub New (message As String, isTransient As Boolean)

Parameters

message
String

The message.

isTransient
Boolean

True if the error is transient and the operation should be retried.

Applies to