SerializationExceptionsNewTupleCardinarityIsNotMatch Method |
This is intended to MsgPack for CLI internal use. Do not use this type from application directly.
Returns new exception to notify that the array length does not match to expected tuple cardinality.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static Exception NewTupleCardinarityIsNotMatch(
int expectedTupleCardinality,
int actualArrayLength
)
Public Shared Function NewTupleCardinarityIsNotMatch (
expectedTupleCardinality As Integer,
actualArrayLength As Integer
) As Exception
public:
static Exception^ NewTupleCardinarityIsNotMatch(
int expectedTupleCardinality,
int actualArrayLength
)
static member NewTupleCardinarityIsNotMatch :
expectedTupleCardinality : int *
actualArrayLength : int -> Exception
Parameters
- expectedTupleCardinality
- Type: SystemInt32
The expected cardinality of the tuple. - actualArrayLength
- Type: SystemInt32
The actual serialized array length.
Return Value
Type:
ExceptionException instance. It will not be
null.
See Also