ObjectInputStream.InterfaceConsts.ProtocolVersion2 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Java.IO.ObjectStreamProtocol enum directly instead of this field.
流协议版本。
[Android.Runtime.Register("PROTOCOL_VERSION_2")]
[System.Obsolete("This constant will be removed in the future version. Use Java.IO.ObjectStreamProtocol enum directly instead of this field.", true)]
public const Java.IO.ObjectStreamProtocol ProtocolVersion2 = 2;
[<Android.Runtime.Register("PROTOCOL_VERSION_2")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.IO.ObjectStreamProtocol enum directly instead of this field.", true)>]
val mutable ProtocolVersion2 : Java.IO.ObjectStreamProtocol
字段值
Value = 2- 属性
注解
流协议版本。
此协议由 JVM 1.2 编写。
外部化数据以块数据模式写入,并终止TC_ENDBLOCKDATA。 已启用 Externalizable 类描述符标志SC_BLOCK_DATA。 JVM 1.1.6 及更高版本可以读取此格式更改。
允许将不可序列化类描述符写入流。 不可序列化类的 serialVersionUID 设置为 0L。
已在 1.2 中添加。
适用于 . 的 java.io.ObjectStreamConstants.PROTOCOL_VERSION_2
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。