Share via


IotHubSuspendedException Constructors

Definition

Overloads

IotHubSuspendedException()

Initializes a new instance of the IotHubSuspendedException class.

IotHubSuspendedException(String)

Initializes a new instance of the IotHubSuspendedException class.

IotHubSuspendedException(SerializationInfo, StreamingContext)

Creates an instance of IotHubSuspendedException with the System.Runtime.Serialization.SerializationInfo and System.Runtime.Serialization.StreamingContext associated with the exception.

IotHubSuspendedException(String, Exception)

Initializes a new instance of the IotHubSuspendedException class with the message string set to the message parameter and a reference to the inner exception that is the cause of this exception.

IotHubSuspendedException(String, String)

Initializes a new instance of the IotHubSuspendedException class.

IotHubSuspendedException()

Initializes a new instance of the IotHubSuspendedException class.

public IotHubSuspendedException();
Public Sub New ()

Applies to

IotHubSuspendedException(String)

Initializes a new instance of the IotHubSuspendedException class.

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

Parameters

iotHubName
System.String

IoT hub name that could not be found.

Applies to

IotHubSuspendedException(SerializationInfo, StreamingContext)

Creates an instance of IotHubSuspendedException with the System.Runtime.Serialization.SerializationInfo and System.Runtime.Serialization.StreamingContext associated with the exception.

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

Parameters

info
System.Runtime.Serialization.SerializationInfo

The serialized data about the exception being thrown.

context
System.Runtime.Serialization.StreamingContext

The contextual information about the source or destination.

Applies to

IotHubSuspendedException(String, Exception)

Initializes a new instance of the IotHubSuspendedException class with the message string set to the message parameter and a reference to the inner exception that is the cause of this exception.

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

Parameters

message
System.String

A description of the error.

innerException
System.Exception

The exception that is the cause of the current exception

Applies to

IotHubSuspendedException(String, String)

Initializes a new instance of the IotHubSuspendedException class.

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

Parameters

iotHubName
System.String

IoT hub name that could not be found.

trackingId
System.String

Tracking identifier for telemetry purposes.

Applies to