Class InvalidVariantException
- Namespace
- Mech3DotNet.Exchange
- Assembly
- Mech3DotNet.dll
An invalid enum variant type was encountered when deserializing data.
For example, the variant expects a unit type, but a new type was found.
public class InvalidVariantException : ExchangeException, ISerializable
- Inheritance
-
InvalidVariantException
- Implements
- Inherited Members
Constructors
InvalidVariantException(string, EnumType, EnumType)
public InvalidVariantException(string structName, EnumType expected, EnumType actual)
Parameters
InvalidVariantException(string, uint, EnumType, EnumType)
public InvalidVariantException(string structName, uint variantIndex, EnumType expected, EnumType actual)