在.NET v2.0 中,废弃了许多 v1.1 的类型、方法、成员等。下面列出了废弃的类型、方法、成员在 v2.0 中的替代方法。上传上来与大家分享,希望它能够给朋友们从 v1.1 到 v2.0 的学习起到一些帮助作用。
具体的列表如下:
1、Obsoletion List By Assembly
具体的列表如下:
1、Obsoletion List By Assembly
Assembly Name (click for details) | Obsoleted Members | Obsoleted Types |
cscompmgd.dll | Members:0 | Types:3 |
Microsoft.JScript.dll | Members:0 | Types:5 |
Microsoft.VisualBasic.Vsa.dll | Members:0 | Types:8 |
Microsoft.VisualC.dll | Members:0 | Types:10 |
Microsoft.Vsa.dll | Members:0 | Types:20 |
Microsoft.Vsa.Vb.CodeDOMProcessor.dll | Members:0 | Types:4 |
mscorlib.dll | Members:59 | Types:51 |
System.Data.dll | Members:14 | Types:3 |
System.Data.OracleClient.dll | Members:3 | Types:0 |
System.Design.dll | Members:44 | Types:14 |
System.dll | Members:80 | Types:5 |
System.Messaging.dll | Members:2 | Types:0 |
System.Web.dll | Members:21 | Types:5 |
System.Web.Mobile.dll | Members:0 | Types:1 |
System.Web.Services.dll | Members:1 | Types:0 |
System.Windows.Forms.dll | Members:17 | Types:0 |
System.Xml.dll | Members:10 | Types:2 |
2、Obsoletion List By Namespace
Namespace Name (click for details) | Obsoleted Members | Obsoleted Types |
Microsoft.CSharp | Members:2 | Types:3 |
Microsoft.Vsa | Members:0 | Types:23 |
Microsoft.JScript.Vsa | Members:0 | Types:2 |
Microsoft.VisualBasic.Vsa | Members:0 | Types:8 |
Microsoft.VisualC | Members:0 | Types:10 |
Microsoft.Vsa.Vb.CodeDOM | Members:0 | Types:4 |
System | Members:22 | Types:1 |
System.Threading | Members:8 | Types:0 |
System.Collections | Members:7 | Types:2 |
System.Diagnostics.SymbolStore | Members:1 | Types:0 |
System.Reflection | Members:5 | Types:0 |
System.Runtime.InteropServices | Members:8 | Types:46 |
System.IO | Members:7 | Types:0 |
System.Security.Permissions | Members:3 | Types:0 |
System.Runtime.Remoting | Members:1 | Types:0 |
System.IO.IsolatedStorage | Members:1 | Types:0 |
System.Reflection.Emit | Members:6 | Types:1 |
System.Configuration.Assemblies | Members:0 | Types:1 |
System.Security.Cryptography.X509Certificates | Members:2 | Types:0 |
System.Data | Members:2 | Types:3 |
System.Data.Common | Members:3 | Types:0 |
System.Data.Odbc | Members:3 | Types:0 |
System.Data.OleDb | Members:5 | Types:0 |
System.Data.SqlClient | Members:1 | Types:0 |
System.Data.OracleClient | Members:3 | Types:0 |
System.ComponentModel.Design.Serialization | Members:1 | Types:1 |
System.ComponentModel.Design | Members:10 | Types:1 |
System.Web.UI.Design | Members:28 | Types:11 |
System.Web.UI.Design.WebControls | Members:13 | Types:2 |
System.ComponentModel | Members:2 | Types:1 |
System.CodeDom.Compiler | Members:3 | Types:0 |
System.Collections.Specialized | Members:4 | Types:0 |
Microsoft.Win32 | Members:1 | Types:0 |
Microsoft.VisualBasic | Members:2 | Types:0 |
System.Net | Members:13 | Types:1 |
System.Net.Sockets | Members:1 | Types:0 |
System.Configuration | Members:11 | Types:0 |
System.Diagnostics | Members:21 | Types:2 |
System.Messaging | Members:2 | Types:0 |
System.Web | Members:3 | Types:0 |
System.Web.Security | Members:1 | Types:0 |
System.Web.UI | Members:16 | Types:0 |
System.Web.UI.WebControls | Members:1 | Types:0 |
System.Web.Mail | Members:0 | Types:5 |
System.Web.UI.MobileControls | Members:0 | Types:1 |
System.Web.Services.Discovery | Members:1 | Types:0 |
System.Windows.Forms | Members:17 | Types:0 |
System.Xml | Members:4 | Types:1 |
System.Xml.Schema | Members:5 | Types:1 |
System.Xml.Serialization | Members:1 | Types:0 |
废弃列表下载地址: