MessagePackSerializerT Constructor (SerializationContext, PackerCompatibilityOptions) |
Initializes a new instance of the
MessagePackSerializerT class with explicitly specified compatibility option.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax protected MessagePackSerializer(
SerializationContext ownerContext,
PackerCompatibilityOptions packerCompatibilityOptions
)
Protected Sub New (
ownerContext As SerializationContext,
packerCompatibilityOptions As PackerCompatibilityOptions
)
protected:
MessagePackSerializer(
SerializationContext^ ownerContext,
PackerCompatibilityOptions packerCompatibilityOptions
)
new :
ownerContext : SerializationContext *
packerCompatibilityOptions : PackerCompatibilityOptions -> MessagePackSerializer
Parameters
- ownerContext
- Type: MsgPack.SerializationSerializationContext
A SerializationContext which owns this serializer. - packerCompatibilityOptions
- Type: MsgPackPackerCompatibilityOptions
The PackerCompatibilityOptions for new packer creation.
Exceptions Remarks
This method also supports backword compatibility with 0.4.
See Also