IotHubSerializationVersionException 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
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. |
IotHubSerializationVersionException(Int32)
Creates an instance of this class with the specified serialization version number and marks it as non-transient.
public IotHubSerializationVersionException (int receivedVersion);
new Microsoft.Azure.Devices.Common.Exceptions.IotHubSerializationVersionException : int -> Microsoft.Azure.Devices.Common.Exceptions.IotHubSerializationVersionException
Public Sub New (receivedVersion As Integer)
Parameters
- receivedVersion
- Int32
The serialization version number.
Applies to
IotHubSerializationVersionException(SerializationInfo, StreamingContext)
Creates an instance of IotHubSerializationVersionException with the SerializationInfo and StreamingContext associated with the exception.
protected IotHubSerializationVersionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Azure.Devices.Common.Exceptions.IotHubSerializationVersionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Azure.Devices.Common.Exceptions.IotHubSerializationVersionException
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