IotHubSerializationException 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
IotHubSerializationException(String) |
Creates an instance of this class with a specified error message and marks it as non-transient. |
IotHubSerializationException(SerializationInfo, StreamingContext) |
Creates an instance of IotHubSerializationException with the SerializationInfo and StreamingContext associated with the exception. |
IotHubSerializationException(String)
Creates an instance of this class with a specified error message and marks it as non-transient.
public IotHubSerializationException (string message);
new Microsoft.Azure.Devices.Common.Exceptions.IotHubSerializationException : string -> Microsoft.Azure.Devices.Common.Exceptions.IotHubSerializationException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
IotHubSerializationException(SerializationInfo, StreamingContext)
Creates an instance of IotHubSerializationException with the SerializationInfo and StreamingContext associated with the exception.
protected IotHubSerializationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Azure.Devices.Common.Exceptions.IotHubSerializationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Azure.Devices.Common.Exceptions.IotHubSerializationException
Protected 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
Azure SDK for .NET