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() |
Initializes a new instance of the class. |
IotHubSuspendedException(String) |
Initializes a new instance of the class. |
IotHubSuspendedException(SerializationInfo, StreamingContext) |
Creates an instance of with the SerializationInfo and StreamingContext associated with the exception. |
IotHubSuspendedException(String, Exception) |
Initializes a new instance of the 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 class. |
IotHubSuspendedException()
Initializes a new instance of the class.
public IotHubSuspendedException ();
Public Sub New ()
Applies to
IotHubSuspendedException(String)
Initializes a new instance of the 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
- String
IoT hub name that could not be found.
Applies to
IotHubSuspendedException(SerializationInfo, StreamingContext)
Creates an instance of with the SerializationInfo and 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
- SerializationInfo
The serialized data about the exception being thrown.
- context
- StreamingContext
The contextual information about the source or destination.
Applies to
IotHubSuspendedException(String, Exception)
Initializes a new instance of the 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
- String
A description of the error.
- innerException
- Exception
The exception that is the cause of the current exception
Applies to
IotHubSuspendedException(String, String)
Initializes a new instance of the 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
- String
IoT hub name that could not be found.
- trackingId
- String
Tracking identifier for telemetry purposes.