IotHubCommunicationException 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
IotHubCommunicationException() |
Initializes a new instance of the class. |
IotHubCommunicationException(String) |
Initializes a new instance of the class with the message string set to the message parameter. |
IotHubCommunicationException(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. |
IotHubCommunicationException()
Initializes a new instance of the class.
public IotHubCommunicationException ();
Public Sub New ()
Applies to
IotHubCommunicationException(String)
Initializes a new instance of the class with the message string set to the message parameter.
public IotHubCommunicationException (string message);
new Microsoft.Azure.Devices.Client.Exceptions.IotHubCommunicationException : string -> Microsoft.Azure.Devices.Client.Exceptions.IotHubCommunicationException
Public Sub New (message As String)
Parameters
- message
- String
A description of the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Applies to
IotHubCommunicationException(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 IotHubCommunicationException (string message, Exception innerException);
new Microsoft.Azure.Devices.Client.Exceptions.IotHubCommunicationException : string * Exception -> Microsoft.Azure.Devices.Client.Exceptions.IotHubCommunicationException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
A description of the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
- innerException
- Exception
The exception that is the cause of the current exception
Applies to
Azure SDK for .NET