MessagePackFormatter.SetMessagePackSerializerOptions 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
MessagePack.MessagePackSerializerOptions设置用于用户数据的序列化。
public void SetMessagePackSerializerOptions (MessagePack.MessagePackSerializerOptions options);
member this.SetMessagePackSerializerOptions : MessagePack.MessagePackSerializerOptions -> unit
Public Sub SetMessagePackSerializerOptions (options As MessagePackSerializerOptions)
参数
- options
- MessagePack.MessagePackSerializerOptions
要使用的选项。 在此调用之前,所使用的选项来自 DefaultUserDataSerializationOptions。