IotHubException Constructors

Definition

Overloads

IotHubException(Exception)
IotHubException(String)
IotHubException(SerializationInfo, StreamingContext)
IotHubException(String, Boolean)
IotHubException(String, Exception)
IotHubException(String, String)
IotHubException(String, Boolean, String)
IotHubException(String, Exception, Boolean)
IotHubException(String, Exception, Boolean, String)

IotHubException(Exception)

public IotHubException (Exception innerException);
new Microsoft.Azure.Devices.Client.Exceptions.IotHubException : Exception -> Microsoft.Azure.Devices.Client.Exceptions.IotHubException
Public Sub New (innerException As Exception)

Parameters

innerException
Exception

Applies to

Product Introduced

IotHubException(String)

public IotHubException (string message);
new Microsoft.Azure.Devices.Client.Exceptions.IotHubException : string -> Microsoft.Azure.Devices.Client.Exceptions.IotHubException
Public Sub New (message As String)

Parameters

message
String

Applies to

Product Introduced

IotHubException(SerializationInfo, StreamingContext)

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

Parameters

Applies to

Product Introduced

IotHubException(String, Boolean)

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

Parameters

message
String
isTransient
Boolean

Applies to

Product Introduced

IotHubException(String, Exception)

public IotHubException (string message, Exception innerException);
new Microsoft.Azure.Devices.Client.Exceptions.IotHubException : string * Exception -> Microsoft.Azure.Devices.Client.Exceptions.IotHubException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String
innerException
Exception

Applies to

Product Introduced

IotHubException(String, String)

public IotHubException (string message, string trackingId);
new Microsoft.Azure.Devices.Client.Exceptions.IotHubException : string * string -> Microsoft.Azure.Devices.Client.Exceptions.IotHubException
Public Sub New (message As String, trackingId As String)

Parameters

message
String
trackingId
String

Applies to

Product Introduced

IotHubException(String, Boolean, String)

public IotHubException (string message, bool isTransient, string trackingId);
new Microsoft.Azure.Devices.Client.Exceptions.IotHubException : string * bool * string -> Microsoft.Azure.Devices.Client.Exceptions.IotHubException
Public Sub New (message As String, isTransient As Boolean, trackingId As String)

Parameters

message
String
isTransient
Boolean
trackingId
String

Applies to

Product Introduced

IotHubException(String, Exception, Boolean)

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

Parameters

message
String
innerException
Exception
isTransient
Boolean

Applies to

Product Introduced

IotHubException(String, Exception, Boolean, String)

protected IotHubException (string message, Exception innerException, bool isTransient, string trackingId);
new Microsoft.Azure.Devices.Client.Exceptions.IotHubException : string * Exception * bool * string -> Microsoft.Azure.Devices.Client.Exceptions.IotHubException
Protected Sub New (message As String, innerException As Exception, isTransient As Boolean, trackingId As String)

Parameters

message
String
innerException
Exception
isTransient
Boolean
trackingId
String

Applies to

Product Introduced