SerializationExceptionsNewUnexpectedArrayLength 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 unpacking array size is not expected length.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static Exception NewUnexpectedArrayLength(
int expectedLength,
int actualLength
)
Public Shared Function NewUnexpectedArrayLength (
expectedLength As Integer,
actualLength As Integer
) As Exception
public:
static Exception^ NewUnexpectedArrayLength(
int expectedLength,
int actualLength
)
static member NewUnexpectedArrayLength :
expectedLength : int *
actualLength : int -> Exception
Parameters
- expectedLength
- Type: SystemInt32
Expected, required for deserialization array length. - actualLength
- Type: SystemInt32
Actual array length.
Return Value
Type:
ExceptionException instance. It will not be
null.
See Also