IotHubSerializationVersionException Class
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.
The exception that is thrown when IoT hub receives an invalid serialization version number. Note: This exception is currently not thrown by the client library.
[System.Serializable]
public class IotHubSerializationVersionException : Microsoft.Azure.Devices.Common.Exceptions.IotHubSerializationException
[<System.Serializable>]
type IotHubSerializationVersionException = class
inherit IotHubSerializationException
Public Class IotHubSerializationVersionException
Inherits IotHubSerializationException
- Inheritance
- Attributes
Constructors
IotHubSerializationVersionException(Int32) |
Creates an instance of this class with the specified serialization version number and marks it as non-transient. |
IotHubSerializationVersionException(SerializationInfo, StreamingContext) |
Creates an instance of IotHubSerializationVersionException with the SerializationInfo and StreamingContext associated with the exception. |
Properties
Code |
The error code associated with the exception. (Inherited from IotHubException) |
IsTransient |
Indicates if the error is transient and should be retried. (Inherited from IotHubException) |
TrackingId |
The service returned tracking Id associated with this particular error. (Inherited from IotHubException) |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Sets the SerializationInfo with information about the exception. Use this to set IsTransient and TrackingId to the serialized object data. (Inherited from IotHubException) |
Applies to
Azure SDK for .NET