Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

狀況

請考慮下列情況,在 Microsoft.NET Framework 3.5 Service Pack 1 (SP1):

  • 您可以使用NetDataContractSerializer類別序列化和還原序列化有不同版本的泛型型別。

  • 您可以使用版本容錯序列化 (VTS) 功能來變更一種版本中的泛型型別。您若要讓此型別和其他版本。

在這個案例中,功能無法運作如預期般運作。當還原序列化已變更的泛型型別時,並還原序列化失敗,您會收到例外狀況。

解決方案

Windows Server 2000、 Windows Server 2003 和 Windows XP

若要解決這個問題,請安裝知識庫文件編號 976570 所述的 hotfix。如需詳細資訊按一下下面的文件編號,檢視 「 Microsoft 知識庫 」 中的文件︰

說明對於 Windows XP 與 Windows Server 2003 時,.NET Framework 3.0 SP2 向前相容性更新︰ 976570

狀態

Microsoft 已確認這是<套用>一節所列出的 Microsoft 產品的問題。

更多的資訊

如需有關 VTS 的詳細資訊,請造訪下列 Microsoft 開發人員網路 (MSDN) 網站︰

版本相容序列化如需有關NetDataContractSerializer類別的詳細資訊,請造訪下列 MSDN 網站︰

NetDataContractSerializer 類別

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×