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作為終止。 外部化類別描述符旗標已啟用 SC_BLOCK_DATA。 JVM 1.1.6 及以上版本可讀取此格式變更。
允許在串流中寫入非序列化的類別描述符。 非序列化類別的 serialVersionUID 設為 0L。
在 1.2 版本中加入。
Java 文件 java.io.ObjectStreamConstants.PROTOCOL_VERSION_2。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。