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