Class InvalidFieldValueTypeException
The exception is thrown when an incorrect type is used to get or set the field.
Implements
Inherited Members
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public class InvalidFieldValueTypeException : Exception, ISerializable
Constructors
InvalidFieldValueTypeException(int, string, string)
Constructor.
Declaration
public InvalidFieldValueTypeException(int tag, string requestedType, string actualType)
Parameters
Type | Name | Description |
---|---|---|
int | tag | The field tag. |
string | requestedType | The requested field type. |
string | actualType | The actual field type. |
Properties
ActualType
Declaration
public string ActualType { get; }
Property Value
Type | Description |
---|---|
string | The actual field type. |
RequestedType
Declaration
public string RequestedType { get; }
Property Value
Type | Description |
---|---|
string | The requested field type. |
Tag
Declaration
public int Tag { get; }
Property Value
Type | Description |
---|---|
int | The field tag. |