IotHubSuspendedException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IotHubSuspendedException(String) |
Creates an instance of this class with a name of the suspended IoT hub and marks it as non-transient. |
IotHubSuspendedException(SerializationInfo, StreamingContext) |
Creates an instance of this class with the SerializationInfo and StreamingContext associated with the exception. |
IotHubSuspendedException(String, String) |
Creates an instance of this class with a name of the suspended IoT hub and tracking Id, and marks it as non-transient. |
IotHubSuspendedException(String)
Creates an instance of this class with a name of the suspended IoT hub and marks it as non-transient.
public IotHubSuspendedException (string iotHubName);
new Microsoft.Azure.Devices.Common.Exceptions.IotHubSuspendedException : string -> Microsoft.Azure.Devices.Common.Exceptions.IotHubSuspendedException
Public Sub New (iotHubName As String)
Parameters
- iotHubName
- String
The name of the IoT hub that has been suspended.
Applies to
IotHubSuspendedException(SerializationInfo, StreamingContext)
Creates an instance of this class with the SerializationInfo and StreamingContext associated with the exception.
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)
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
IotHubSuspendedException(String, String)
Creates an instance of this class with a name of the suspended IoT hub and tracking Id, and marks it as non-transient.
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)
Parameters
- iotHubName
- String
The name of the IoT hub that has been suspended.
- trackingId
- String
The service returned tracking Id associated with this particular error.
Applies to
Azure SDK for .NET