Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Protobuf-net 允许以下属性:
[ProtoBeforeSerialization] [ProtoAfterSerialization]
如果序列化过程中出现异常,会调用[ProtoAfterSerialization]方法吗?
不,不会的。
我怀疑可能会出现更长的答案,但我不确定我还能添加什么......