MessagePackSerializerCreate Method (Type, SerializationContext) |
Note: This API is now obsolete.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax [ObsoleteAttribute("Use Get(Type,SerializationContext) instead.")]
public static IMessagePackSingleObjectSerializer Create(
Type targetType,
SerializationContext context
)
<ObsoleteAttribute("Use Get(Type,SerializationContext) instead.")>
Public Shared Function Create (
targetType As Type,
context As SerializationContext
) As IMessagePackSingleObjectSerializer
public:
[ObsoleteAttribute(L"Use Get(Type,SerializationContext) instead.")]
static IMessagePackSingleObjectSerializer^ Create(
Type^ targetType,
SerializationContext^ context
)
[<ObsoleteAttribute("Use Get(Type,SerializationContext) instead.")>]
static member Create :
targetType : Type *
context : SerializationContext -> IMessagePackSingleObjectSerializer
Parameters
- targetType
- Type: SystemType
Target type. - context
- Type: MsgPack.SerializationSerializationContext
SerializationContext to store known/created serializers.
Return Value
Type:
IMessagePackSingleObjectSerializer
New
IMessagePackSingleObjectSerializer instance to serialize/deserialize the object tree which the top is
targetType.
Exceptions Remarks See Also