Freigeben über


IotHubSuspendedException Konstruktoren

Definition

Überlädt

IotHubSuspendedException(String)

Erstellt eine instance dieser Klasse mit dem Namen des angehaltenen IoT Hubs und markiert sie als nicht vorübergehend.

IotHubSuspendedException(SerializationInfo, StreamingContext)

Erstellt eine instance dieser Klasse, der und SerializationInfoStreamingContext der Ausnahme zugeordnet ist.

IotHubSuspendedException(String, String)

Erstellt eine instance dieser Klasse mit dem Namen des angehaltenen IoT Hubs und der Nachverfolgungs-ID und markiert sie als nicht vorübergehend.

IotHubSuspendedException(String)

Erstellt eine instance dieser Klasse mit dem Namen des angehaltenen IoT Hubs und markiert sie als nicht vorübergehend.

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

Parameter

iotHubName
String

Der Name des IoT Hubs, der angehalten wurde.

Gilt für:

IotHubSuspendedException(SerializationInfo, StreamingContext)

Erstellt eine instance dieser Klasse, der und SerializationInfoStreamingContext der Ausnahme zugeordnet ist.

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

Parameter

info
SerializationInfo

Die SerializationInfo, die die serialisierten Objektdaten für die ausgelöste Ausnahme enthält.

context
StreamingContext

Der StreamingContext, der die Kontextinformationen über die Quelle oder das Ziel enthält.

Gilt für:

IotHubSuspendedException(String, String)

Erstellt eine instance dieser Klasse mit dem Namen des angehaltenen IoT Hubs und der Nachverfolgungs-ID und markiert sie als nicht vorübergehend.

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

Parameter

iotHubName
String

Der Name des IoT Hubs, der angehalten wurde.

trackingId
String

Der Dienst hat die Mitverfolgungs-ID zurückgegeben, die diesem bestimmten Fehler zugeordnet ist.

Gilt für: