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(String) |
Creates an instance of IotHubCommunicationException with a specified error message and marks it as transient. |
IotHubCommunicationException(String, Exception) |
Creates an instance of IotHubCommunicationException with a specified error message and a reference to the inner exception that caused this exception, and marks it as transient. |
IotHubCommunicationException(String)
Creates an instance of IotHubCommunicationException with a specified error message and marks it as transient.
public IotHubCommunicationException (string message);
new Microsoft.Azure.Devices.Common.Exceptions.IotHubCommunicationException : string -> Microsoft.Azure.Devices.Common.Exceptions.IotHubCommunicationException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
IotHubCommunicationException(String, Exception)
Creates an instance of IotHubCommunicationException with a specified error message and a reference to the inner exception that caused this exception, and marks it as transient.
public IotHubCommunicationException (string message, Exception innerException);
new Microsoft.Azure.Devices.Common.Exceptions.IotHubCommunicationException : string * Exception -> Microsoft.Azure.Devices.Common.Exceptions.IotHubCommunicationException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message that describes the error.
- innerException
- Exception
The exception that is the cause of the current exception.
Applies to
Azure SDK for .NET