SerializationExceptionsNewValueTypeCannotBeNull Method (String, Type, Type) |
This is intended to MsgPack for CLI internal use. Do not use this type from application directly.
Returns new exception to notify that value type cannot be null on deserialization.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static Exception NewValueTypeCannotBeNull(
string name,
Type memberType,
Type declaringType
)
Public Shared Function NewValueTypeCannotBeNull (
name As String,
memberType As Type,
declaringType As Type
) As Exception
public:
static Exception^ NewValueTypeCannotBeNull(
String^ name,
Type^ memberType,
Type^ declaringType
)
static member NewValueTypeCannotBeNull :
name : string *
memberType : Type *
declaringType : Type -> Exception
Parameters
- name
- Type: SystemString
The name of the member. - memberType
- Type: SystemType
The type of the member. - declaringType
- Type: SystemType
The type that declares the member.
Return Value
Type:
ExceptionException instance. It will not be
null.
See Also