Freigeben über


.NET Framework V2.0 Obsolete Type/Member List (By Assembly)

 

 

Assembly Name (click for details) Obsoleted Members Obsoleted Types
cscompmgd.dll Members:0 Types:3
ISymWrapper.dll Members:1 Types:0
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:74 Types:51
System.Data.dll Members:8 Types:3
System.Data.OracleClient.dll Members:3 Types:0
System.Design.dll Members:45 Types:14
System.dll Members:81 Types:6
System.Messaging.dll Members:2 Types:0
System.Web.Configuration.dll Members:1 Types:0
System.Web.dll Members:17 Types:6
System.Web.Mobile.dll Members:0 Types:2
System.Web.Services.dll Members:1 Types:0
System.Windows.Forms.dll Members:10 Types:0
System.Xml.dll Members:10 Types:2
VJSharpCodeProvider.dll Members:2 Types:0

Top of PageTop of Page


cscompmgd.dll

Microsoft.CSharp.ErrorLevel (Type Obsoleted)
Message: The recommended alternative is Microsoft.CSharp.CSharpCodeProvider and System.CodeDom.Compiler.ICodeCompiler. The CSharpCodeProvider and CodeDom ICodeCompiler provide a much richer set of functionality for specifying how to launch the compiler.
 
Microsoft.CSharp.CompilerError (Type Obsoleted)
Message: The recommended alternative is Microsoft.CSharp.CSharpCodeProvider and System.CodeDom.Compiler.ICodeCompiler. The CSharpCodeProvider and CodeDom ICodeCompiler provide a much richer set of functionality for specifying how to launch the compiler.
 
Microsoft.CSharp.Compiler (Type Obsoleted)
Message: The recommended alternative is Microsoft.CSharp.CSharpCodeProvider and System.CodeDom.Compiler.ICodeCompiler. The CSharpCodeProvider and CodeDom ICodeCompiler provide a much richer set of functionality for specifying how to launch the compiler.

Top of PageTop of Page


ISymWrapper.dll

System.Diagnostics.SymbolStore.SymBinder
GetReader(Int32 importer,String filename,String searchPath) Message: The recommended alternative is SymBinder.GetReader(IntPtr, String). ISymbolBinder1.GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures.

Top of PageTop of Page


Microsoft.JScript.dll

Microsoft.Vsa.BaseVsaEngine (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.BaseVsaSite (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.BaseVsaStartup (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.JScript.Vsa.ResInfo (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.JScript.Vsa.VsaEngine (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.

Top of PageTop of Page


Microsoft.VisualBasic.Vsa.dll

Microsoft.VisualBasic.Vsa.VsaItem (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.VisualBasic.Vsa.VsaCodeItem (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.VisualBasic.Vsa.VsaCompilerError (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.VisualBasic.Vsa.VsaEngine (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.VisualBasic.Vsa.VsaGlobalItem (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.VisualBasic.Vsa.VsaItems (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.VisualBasic.Vsa.VsaItemsEnumerator (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.VisualBasic.Vsa.VsaReferenceItem (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.

Top of PageTop of Page


Microsoft.VisualC.dll

Microsoft.VisualC.IsCXXReferenceModifier (Type Obsoleted)
Message: Microsoft.VisualC.dll is an obsolete assembly and exists only for backwards compatibility.
 
Microsoft.VisualC.IsConstModifier (Type Obsoleted)
Message: Microsoft.VisualC.dll is an obsolete assembly and exists only for backwards compatibility.
 
Microsoft.VisualC.IsLongModifier (Type Obsoleted)
Message: Microsoft.VisualC.dll is an obsolete assembly and exists only for backwards compatibility.
 
Microsoft.VisualC.IsVolatileModifier (Type Obsoleted)
Message: Microsoft.VisualC.dll is an obsolete assembly and exists only for backwards compatibility.
 
Microsoft.VisualC.IsSignedModifier (Type Obsoleted)
Message: Microsoft.VisualC.dll is an obsolete assembly and exists only for backwards compatibility.
 
Microsoft.VisualC.NoSignSpecifiedModifier (Type Obsoleted)
Message: Microsoft.VisualC.dll is an obsolete assembly and exists only for backwards compatibility.
 
Microsoft.VisualC.NeedsCopyConstructorModifier (Type Obsoleted)
Message: Microsoft.VisualC.dll is an obsolete assembly and exists only for backwards compatibility.
 
Microsoft.VisualC.DecoratedNameAttribute (Type Obsoleted)
Message: Microsoft.VisualC.dll is an obsolete assembly and exists only for backwards compatibility.
 
Microsoft.VisualC.MiscellaneousBitsAttribute (Type Obsoleted)
Message: Microsoft.VisualC.dll is an obsolete assembly and exists only for backwards compatibility.
 
Microsoft.VisualC.DebugInfoInPDBAttribute (Type Obsoleted)
Message: Microsoft.VisualC.dll is an obsolete assembly and exists only for backwards compatibility.

Top of PageTop of Page


Microsoft.Vsa.dll

Microsoft.Vsa.IVsaEngine (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.VsaLoader (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.VsaItemType (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.VsaItemFlag (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.VsaIDEMode (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.IVsaSite (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.IVsaPersistSite (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.IVsaError (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.IVsaItem (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.IVsaItems (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.IVsaReferenceItem (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.IVsaCodeItem (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.IVsaGlobalItem (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.IVsaIDESite (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.IVsaIDE (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.IVsaDTEngine (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.IVsaDTCodeItem (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.VsaError (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.VsaException (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.VsaModule (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.

Top of PageTop of Page


Microsoft.Vsa.Vb.CodeDOMProcessor.dll

Microsoft.Vsa.Vb.CodeDOM._CodeDOMProcessor (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.Vb.CodeDOM._Location (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.Vb.CodeDOM.Location (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
 
Microsoft.Vsa.Vb.CodeDOM.CodeDOMProcessor (Type Obsoleted)
Message: Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.

Top of PageTop of Page


mscorlib.dll

System.Enum
ToString(String format,IFormatProvider provider) Message: The provider argument is not used. Please use ToString(String).
ToString(IFormatProvider provider) Message: The provider argument is not used. Please use ToString().
 
System.AppDomain
GetCurrentThreadId() Message: AppDomain.GetCurrentThreadId has been deprecated because it does not provide a stable Id when managed threads are running on fibers (aka lightweight threads). To get a stable identifier for a managed thread, use the ManagedThreadId property on Thread.
AppendPrivatePath(String path) Message: AppDomain.AppendPrivatePath has been deprecated. Please investigate the use of AppDomainSetup.PrivateBinPath instead.
ClearPrivatePath() Message: AppDomain.ClearPrivatePath has been deprecated. Please investigate the use of AppDomainSetup.PrivateBinPath instead.
ClearShadowCopyPath() Message: AppDomain.ClearShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead.
SetCachePath(String path) Message: AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead.
SetShadowCopyPath(String path) Message: AppDomain.SetShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead.
SetShadowCopyFiles() Message: AppDomain.SetShadowCopyFiles has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyFiles instead.
SetDynamicBase(String path) Message: AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead.
 
System.LoaderOptimization
DomainMask Message: This method has been deprecated. Please use Assembly.Load() instead.
DisallowBindings Message: This method has been deprecated. Please use Assembly.Load() instead.
 
System.ContextMarshalException (Type Obsoleted)
Message: ContextMarshalException is obsolete.
 
System.Threading.WaitHandle
Handle Message: Use the SafeWaitHandle property instead.
 
System.Threading.Overlapped
Pack(IOCompletionCallback iocb) Message: This method is not safe. Use Pack (iocb, userData) instead.
UnsafePack(IOCompletionCallback iocb) Message: This method is not safe. Use UnsafePack (iocb, userData) instead.
Overlapped(Int32 offsetLo,Int32 offsetHi,Int32 hEvent,IAsyncResult ar) Message: This constructor is not 64-bit compatible. Use the constructor that takes an IntPtr for the event handle.
EventHandle Message: This property is not 64-bit compatible. Use EventHandleIntPtr instead.
 
System.Threading.Thread
SetCompressedStack(CompressedStack stack) Message: Thread.SetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class
GetCompressedStack() Message: Thread.GetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class
Suspend() Message: Thread.Suspend has been deprecated. Please use other classes in System.Threading, such as Monitor, Mutex, Event, and Semaphore, to synchronize Threads or protect resources.
Resume() Message: Thread.Resume has been deprecated. Please use other classes in System.Threading, such as Monitor, Mutex, Event, and Semaphore, to synchronize Threads or protect resources.
ApartmentState Message: The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.
 
System.Threading.ThreadPool
BindHandle(IntPtr osHandle) Message: ThreadPool.BindHandle(IntPtr) has been deprecated. Please use ThreadPool.BindHandle(SafeHandle) instead.
 
System.Collections.IHashCodeProvider (Type Obsoleted)
Message: Please use IEqualityComparer instead.
 
System.Collections.CaseInsensitiveHashCodeProvider (Type Obsoleted)
Message: Please use StringComparer instead.
 
System.Collections.Hashtable
Hashtable(Int32 capacity,Single loadFactor,IHashCodeProvider hcp,IComparer comparer) Message: Please use Hashtable(int, float, IEqualityComparer) instead.
Hashtable(IHashCodeProvider hcp,IComparer comparer) Message: Please use Hashtable(IEqualityComparer) instead.
Hashtable(Int32 capacity,IHashCodeProvider hcp,IComparer comparer) Message: Please use Hashtable(int, IEqualityComparer) instead.
Hashtable(IDictionary d,IHashCodeProvider hcp,IComparer comparer) Message: Please use Hashtable(IDictionary, IEqualityComparer) instead.
Hashtable(IDictionary d,Single loadFactor,IHashCodeProvider hcp,IComparer comparer) Message: Please use Hashtable(IDictionary, float, IEqualityComparer) instead.
hcp Message: Please use EqualityComparer property.
comparer Message: Please use KeyComparer properties.
 
System.Diagnostics.SymbolStore.ISymbolBinder
GetReader(Int32 importer,String filename,String searchPath) Message: The recommended alternative is ISymbolBinder1.GetReader. ISymbolBinder1.GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures.
 
System.Reflection.Assembly
LoadWithPartialName(String partialName) Message: This method has been deprecated. Please use Assembly.Load() instead.
LoadWithPartialName(String partialName,Evidence securityEvidence) Message: This method has been deprecated. Please use Assembly.Load() instead.
 
System.Reflection.AssemblyFlagsAttribute
AssemblyFlagsAttribute(UInt32 flags) Message: This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead.
AssemblyFlagsAttribute(Int32 assemblyFlags) Message: This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead.
Flags Message: This property has been deprecated. Please use AssemblyFlags instead.
 
System.Security.Policy.PolicyLevel
AddFullTrustAssembly(StrongName sn) Message: Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.
AddFullTrustAssembly(StrongNameMembershipCondition snMC) Message: Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.
RemoveFullTrustAssembly(StrongName sn) Message: Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.
RemoveFullTrustAssembly(StrongNameMembershipCondition snMC) Message: Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.
FullTrustAssemblies Message: Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.
 
System.Runtime.InteropServices.IDispatchImplType (Type Obsoleted)
Message: The IDispatchImplAttribute is deprecated.
 
System.Runtime.InteropServices.IDispatchImplAttribute (Type Obsoleted)
Message: This attribute is deprecated and will be removed in a future version.
 
System.Runtime.InteropServices.SetWin32ContextInIDispatchAttribute (Type Obsoleted)
Message: This attribute has been deprecated. Application Domains no longer respect Activation Context boundaries in IDispatch calls.
 
System.Runtime.InteropServices.Marshal
GetUnmanagedThunkForManagedMethodPtr(IntPtr pfnMethodToWrap,IntPtr pbSignature,Int32 cbSignature) Message: The GetUnmanagedThunkForManagedMethodPtr method has been deprecated and will be removed in a future release.
GetManagedThunkForUnmanagedMethodPtr(IntPtr pfnMethodToWrap,IntPtr pbSignature,Int32 cbSignature) Message: The GetManagedThunkForUnmanagedMethodPtr method has been deprecated and will be removed in a future release.
GetThreadFromFiberCookie(Int32 cookie) Message: The GetThreadFromFiberCookie method has been deprecated. Use the hosting API to perform this operation.
GetTypeLibName(UCOMITypeLib pTLB) Message: Use System.Runtime.InteropServices.Marshal.GetTypeLibName(ITypeLib pTLB) instead.
GetTypeLibGuid(UCOMITypeLib pTLB) Message: Use System.Runtime.InteropServices.Marshal.GetTypeLibGuid(ITypeLib pTLB) instead.
GetTypeLibLcid(UCOMITypeLib pTLB) Message: Use System.Runtime.InteropServices.Marshal.GetTypeLibLcid(ITypeLib pTLB) instead.
GetTypeInfoName(UCOMITypeInfo pTI) Message: Use System.Runtime.InteropServices.Marshal.GetTypeInfoName(ITypeInfo pTLB) instead.
ReleaseThreadCache() Message: This API did not perform any operation and will be removed in future versions of the CLR.
 
System.Runtime.InteropServices.BIND_OPTS (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.BIND_OPTS instead.
 
System.Runtime.InteropServices.UCOMIBindCtx (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.IBindCtx instead.
 
System.Runtime.InteropServices.UCOMIConnectionPointContainer (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.IConnectionPointContainer instead.
 
System.Runtime.InteropServices.UCOMIConnectionPoint (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.IConnectionPoint instead.
 
System.Runtime.InteropServices.UCOMIEnumMoniker (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.IEnumMoniker instead.
 
System.Runtime.InteropServices.CONNECTDATA (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.CONNECTDATA instead.
 
System.Runtime.InteropServices.UCOMIEnumConnections (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.IEnumConnections instead.
 
System.Runtime.InteropServices.UCOMIEnumConnectionPoints (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.IEnumConnectionPoints instead.
 
System.Runtime.InteropServices.UCOMIEnumString (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.IEnumString instead.
 
System.Runtime.InteropServices.UCOMIEnumVARIANT (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.IEnumVARIANT instead.
 
System.Runtime.InteropServices.FILETIME (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.FILETIME instead.
 
System.Runtime.InteropServices.UCOMIMoniker (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.IMoniker instead.
 
System.Runtime.InteropServices.UCOMIPersistFile (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.IPersistFile instead.
 
System.Runtime.InteropServices.UCOMIRunningObjectTable (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.IRunningObjectTable instead.
 
System.Runtime.InteropServices.STATSTG (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.STATSTG instead.
 
System.Runtime.InteropServices.UCOMIStream (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.IStream instead.
 
System.Runtime.InteropServices.DESCKIND (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.DESCKIND instead.
 
System.Runtime.InteropServices.BINDPTR (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.BINDPTR instead.
 
System.Runtime.InteropServices.UCOMITypeComp (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.ITypeComp instead.
 
System.Runtime.InteropServices.TYPEKIND (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.TYPEKIND instead.
 
System.Runtime.InteropServices.TYPEFLAGS (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.TYPEFLAGS instead.
 
System.Runtime.InteropServices.IMPLTYPEFLAGS (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS instead.
 
System.Runtime.InteropServices.TYPEATTR (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.TYPEATTR instead.
 
System.Runtime.InteropServices.FUNCDESC (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.FUNCDESC instead.
 
System.Runtime.InteropServices.IDLFLAG (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.IDLFLAG instead.
 
System.Runtime.InteropServices.IDLDESC (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.IDLDESC instead.
 
System.Runtime.InteropServices.PARAMFLAG (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.PARAMFLAG instead.
 
System.Runtime.InteropServices.PARAMDESC (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.PARAMDESC instead.
 
System.Runtime.InteropServices.TYPEDESC (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.TYPEDESC instead.
 
System.Runtime.InteropServices.ELEMDESC (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.ELEMDESC instead.
 
System.Runtime.InteropServices.VARDESC (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.VARDESC instead.
 
System.Runtime.InteropServices.DISPPARAMS (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.DISPPARAMS instead.
 
System.Runtime.InteropServices.EXCEPINFO (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.EXCEPINFO instead.
 
System.Runtime.InteropServices.FUNCKIND (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.FUNCKIND instead.
 
System.Runtime.InteropServices.INVOKEKIND (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.INVOKEKIND instead.
 
System.Runtime.InteropServices.CALLCONV (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.CALLCONV instead.
 
System.Runtime.InteropServices.FUNCFLAGS (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.FUNCFLAGS instead.
 
System.Runtime.InteropServices.VARFLAGS (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.VARFLAGS instead.
 
System.Runtime.InteropServices.UCOMITypeInfo (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.ITypeInfo instead.
 
System.Runtime.InteropServices.SYSKIND (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.SYSKIND instead.
 
System.Runtime.InteropServices.LIBFLAGS (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.LIBFLAGS instead.
 
System.Runtime.InteropServices.TYPELIBATTR (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.TYPELIBATTR instead.
 
System.Runtime.InteropServices.UCOMITypeLib (Type Obsoleted)
Message: Use System.Runtime.InteropServices.ComTypes.ITypeLib instead.
 
System.IO.Stream
CreateWaitHandle() Message: CreateWaitHandle will be removed eventually. Please use "new ManualResetEvent(false)" instead.
 
System.IO.FileStream
FileStream(IntPtr handle,FileAccess access) Message: This constructor has been deprecated. Please use new FileStream(SafeFileHandle handle, FileAccess access) instead.
FileStream(IntPtr handle,FileAccess access,Boolean ownsHandle) Message: This constructor has been deprecated. Please use new FileStream(SafeFileHandle handle, FileAccess access) instead, and optionally make a new SafeFileHandle with ownsHandle=false if needed.
FileStream(IntPtr handle,FileAccess access,Boolean ownsHandle,Int32 bufferSize) Message: This constructor has been deprecated. Please use new FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead, and optionally make a new SafeFileHandle with ownsHandle=false if needed.
FileStream(IntPtr handle,FileAccess access,Boolean ownsHandle,Int32 bufferSize,Boolean isAsync) Message: This constructor has been deprecated. Please use new FileStream(SafeFileHandle handle, FileAccess access, int bufferSize, bool isAsync) instead, and optionally make a new SafeFileHandle with ownsHandle=false if needed.
Handle Message: This property has been deprecated. Please use FileStream's SafeFileHandle property instead.
 
System.IO.Path
InvalidPathChars Message: Please use GetInvalidPathChars or GetInvalidFileNameChars instead.
 
System.Security.Permissions.FileIOPermissionAttribute
All Message: Please use the ViewAndModify property instead.
 
System.Security.Permissions.ReflectionPermissionAttribute
TypeInformation Message: This API has been deprecated.
 
System.Security.Permissions.RegistryPermissionAttribute
All Message: Please use the ViewAndModify property instead.
 
System.Security.Permissions.ReflectionPermissionFlag
TypeInformation Message: This API has been deprecated.
 
System.Security.SecurityManager
SecurityEnabled Message: Because security can no longer be turned off permanently, setting the SecurityEnabled property no longer has any effect. Reading the property will still indicate whether security has been turned off temporarily.
 
System.Runtime.Remoting.Channels.ChannelServices
RegisterChannel(IChannel chnl) Message: Use System.Runtime.Remoting.ChannelServices.RegisterChannel(IChannel chnl, bool ensureSecurity) instead.
 
System.Runtime.Remoting.RemotingConfiguration
Configure(String filename) Message: Use System.Runtime.Remoting.RemotingConfiguration.Configure(string fileName, bool ensureSecurity) instead.
 
System.Runtime.Remoting.RemotingServices
LogRemotingStage(Int32 stage) Message: Use of this method is not recommended. The LogRemotingStage existed for internal diagnostic purposes only.
 
System.IO.IsolatedStorage.IsolatedStorageFileStream
Handle Message: This property has been deprecated. Please use IsolatedStorageFileStream's SafeFileHandle property instead.
 
System.Reflection.Emit.FieldBuilder
SetMarshal(UnmanagedMarshal unmanagedMarshal) Message: An alternate API is available: Emit the MarshalAs custom attribute instead.
 
System.Reflection.Emit.MethodBuilder
SetMarshal(UnmanagedMarshal unmanagedMarshal) Message: An alternate API is available: Emit the MarshalAs custom attribute instead.
 
System.Reflection.Emit.OpCodeType
Annotation Message: This API has been deprecated.
 
System.Reflection.Emit.OperandType
InlinePhi Message: This API has been deprecated.
 
System.Reflection.Emit.FlowControl
Phi Message: This API has been deprecated.
 
System.Reflection.Emit.ParameterBuilder
SetMarshal(UnmanagedMarshal unmanagedMarshal) Message: An alternate API is available: Emit the MarshalAs custom attribute instead.
 
System.Reflection.Emit.UnmanagedMarshal (Type Obsoleted)
Message: An alternate API is available: Emit the MarshalAs custom attribute instead.
 
System.Configuration.Assemblies.AssemblyHash (Type Obsoleted)
Message: The AssemblyHash class has been deprecated.
 
System.Security.Cryptography.PasswordDeriveBytes
GetBytes(Int32 cb) Message: Rfc2898DeriveBytes replaces PasswordDeriveBytes for deriving key material from a password and is preferred in new applications.
 
System.Security.Cryptography.X509Certificates.X509Certificate
GetName() Message: This method has been deprecated. Please use the Subject property instead.
GetIssuerName() Message: This method has been deprecated. Please use the Issuer property instead.

Top of PageTop of Page


System.Data.dll

System.Data.DataSysDescriptionAttribute (Type Obsoleted)
Message: DataSysDescriptionAttribute has been deprecated.
 
System.Data.TypedDataSetGenerator (Type Obsoleted)
Message: TypedDataSetGenerator class will be removed in a future release. Please use System.Data.Design.TypedDataSetGenerator in System.Design.dll.
 
System.Data.Common.DataAdapter
CloneInternals() Message: CloneInternals() has been deprecated. Use the DataAdapter(DataAdapter from) constructor.
 
System.Data.Common.DBDataPermission
DBDataPermission() Message: DBDataPermission() has been deprecated. Use the DBDataPermission(PermissionState.None) constructor.
DBDataPermission(PermissionState state,Boolean allowBlankPassword) Message: DBDataPermission(PermissionState state,Boolean allowBlankPassword) has been deprecated. Use the DBDataPermission(PermissionState.None) constructor.
 
System.Data.Odbc.OdbcParameterCollection
Add(String parameterName,Object value) Message: Add(String parameterName, Object value) has been deprecated. Use AddWithValue(String parameterName, Object value).
 
System.Data.OleDb.OleDbParameterCollection
Add(String parameterName,Object value) Message: Add(String parameterName, Object value) has been deprecated. Use AddWithValue(String parameterName, Object value).
 
System.Data.OleDb.OleDbPermission
Provider Message: Provider property has been deprecated. Use the Add method.
 
System.Data.OleDb.OleDbPermissionAttribute
Provider Message: Provider property has been deprecated. Use the Add method.
 
System.Data.PropertyAttributes (Type Obsoleted)
Message: PropertyAttributes has been deprecated.
 
System.Data.SqlClient.SqlParameterCollection
Add(String parameterName,Object value) Message: Add(String parameterName, Object value) has been deprecated. Use AddWithValue(String parameterName, Object value).

Top of PageTop of Page


System.Data.OracleClient.dll

System.Data.OracleClient.OracleParameter
Precision Message: Precision has been deprecated. Use the Math classes to explicitly set the precision of a decimal.
Scale Message: Scale has been deprecated. Use the Math classes to explicitly set the scale of a decimal.
 
System.Data.OracleClient.OracleParameterCollection
Add(String parameterName,Object value) Message: Add(String parameterName, Object value) has been deprecated. Use AddWithValue(String parameterName, Object value).

Top of PageTop of Page


System.Design.dll

System.ComponentModel.Design.Serialization.CodeDomSerializer
SerializeToReferenceExpression(IDesignerSerializationManager manager,Object value) Message: This method has been deprecated. Use SerializeToExpression or GetExpression instead.
 
System.ComponentModel.Design.ComponentDesigner
InitializeNonDefault() Message: This method has been deprecated. Use InitializeExistingComponent instead.
OnSetComponentDefaults() Message: This method has been deprecated. Use InitializeNewComponent instead.
 
System.ComponentModel.Design.LocalizationExtenderProvider (Type Obsoleted)
Message: This class has been deprecated. Use CodeDomLocalizationProvider instead.
 
System.Windows.Forms.Design.ControlDesigner
OnSetComponentDefaults() Message: This method has been deprecated. Use InitializeNewComponent instead.
 
System.Web.UI.Design.HtmlControlDesigner
OnBehaviorAttached() Message: The recommended alternative is ControlDesigner.Tag.
OnBehaviorDetaching() Message: The recommended alternative is ControlDesigner.Tag.
OnBindingsCollectionChanged(String propName) Message: The recommended alternative is to handle the Changed event on the DataBindings collection. The DataBindings collection allows more control of the databindings associated with the control.
DesignTimeElement Message: Error: This property can no longer be referenced, and is included to support existing compiled applications. The design-time element may not always provide access to the element in the markup. There are alternate methods on WebFormsRootDesigner for handling client script and controls.
Behavior Message: The recommended alternative is ControlDesigner.Tag.
ShouldCodeSerialize Message: Use of this property is not recommended because code serialization is not supported.
 
System.Web.UI.Design.ControlDesigner
GetPersistInnerHtml() Message: The recommended alternative is GetPersistenceContent().
IsPropertyBound(String propName) Message: The recommended alternative is DataBindings.Contains(string). The DataBindings collection allows more control of the databindings associated with the control.
OnBindingsCollectionChanged(String propName) Message: The recommended alternative is to handle the Changed event on the DataBindings collection. The DataBindings collection allows more control of the databindings associated with the control.
OnControlResize() Message: The recommended alternative is OnComponentChanged(). OnComponentChanged is called when any property of the control is changed.
RaiseResizeEvent() Message: Use of this method is not recommended because resizing is handled by the OnComponentChanged() method.
DesignTimeHtmlRequiresLoadComplete Message: The recommended alternative is SetViewFlags(ViewFlags.DesignTimeHtmlRequiresLoadComplete, true).
IsDirty Message: The recommended alternative is to use Tag.SetDirty() and Tag.IsDirty.
ReadOnly Message: The recommended alternative is to inherit from ContainerControlDesigner instead and to use an EditableDesignerRegion. Regions allow for better control of the content in the designer.
DesignTimeElementView Message: Error: This property can no longer be referenced, and is included to support existing compiled applications. The design-time element view architecture is no longer used.
 
System.Web.UI.Design.DataBindingCollectionConverter (Type Obsoleted)
Message: Use of this type is not recommended because DataBindings editing is launched via a DesignerActionList instead of the property grid.
 
System.Web.UI.Design.DataBindingCollectionEditor (Type Obsoleted)
Message: Use of this type is not recommended because DataBindings editing is launched via a DesignerActionList instead of the property grid.
 
System.Web.UI.Design.IHtmlControlDesignerBehavior (Type Obsoleted)
Message: The recommended alternative is System.Web.UI.Design.IControlDesignerTag and System.Web.UI.Design.IControlDesignerView.
 
System.Web.UI.Design.ITemplateEditingFrame (Type Obsoleted)
Message: Use of this type is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
 
System.Web.UI.Design.ITemplateEditingService (Type Obsoleted)
Message: Use of this type is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
 
System.Web.UI.Design.IControlDesignerBehavior (Type Obsoleted)
Message: The recommended alternative is System.Web.UI.Design.IControlDesignerTag and System.Web.UI.Design.IControlDesignerView.
 
System.Web.UI.Design.IWebFormReferenceManager (Type Obsoleted)
Message: The recommended alternative is System.Web.UI.Design.WebFormsReferenceManager. The WebFormsReferenceManager contains additional functionality and allows for more extensibility. To get the WebFormsReferenceManager use the RootDesigner.ReferenceManager property from your ControlDesigner.
 
System.Web.UI.Design.IWebFormsDocumentService (Type Obsoleted)
Message: The recommended alternative is System.Web.UI.Design.WebFormsRootDesigner. The WebFormsRootDesigner contains additional functionality and allows for more extensibility. To get the WebFormsRootDesigner use the RootDesigner property from your ControlDesigner.
 
System.Web.UI.Design.ReadWriteControlDesigner (Type Obsoleted)
Message: The recommended alternative is ContainerControlDesigner because it uses an EditableDesignerRegion for editing the content. Designer regions allow for better control of the content being edited.
 
System.Web.UI.Design.TemplatedControlDesigner
CreateTemplateEditingFrame(TemplateEditingVerb verb) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
EnterTemplateMode(ITemplateEditingFrame newTemplateEditingFrame) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
ExitTemplateMode(Boolean fSwitchingTemplates,Boolean fNested,Boolean fSave) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
GetCachedTemplateEditingVerbs() Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
GetTemplateContainerDataItemProperty(String templateName) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
GetTemplateContainerDataSource(String templateName) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
GetTemplateContent(ITemplateEditingFrame editingFrame,String templateName,Boolean& allowEditing) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
GetTemplateEditingVerbs() Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
GetTemplatePropertyParentType(String templateName) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
OnBehaviorAttached() Message: The recommended alternative is ControlDesigner.Tag.
SetTemplateContent(ITemplateEditingFrame editingFrame,String templateName,String templateContent) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
ActiveTemplateEditingFrame Message: Use of this property is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
InTemplateMode Message: The recommended alternative is System.Web.UI.Design.ControlDesigner.InTemplateMode.
 
System.Web.UI.Design.TemplateEditingService (Type Obsoleted)
Message: Use of this type is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
 
System.Web.UI.Design.TemplateEditingVerb (Type Obsoleted)
Message: Use of this type is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
 
System.Web.UI.Design.WebControls.BaseDataListDesigner
GetTemplateContainerDataSource(String templateName) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
OnAutoFormat(Object sender,EventArgs e) Message: Use of this method is not recommended because the AutoFormat dialog is launched by the designer host. The list of available AutoFormats is exposed on the ControlDesigner in the AutoFormats property.
 
System.Web.UI.Design.WebControls.CalendarAutoFormatDialog (Type Obsoleted)
Message: Use of this type is not recommended because the AutoFormat dialog is launched by the designer host. The list of available AutoFormats is exposed on the ControlDesigner in the AutoFormats property.
 
System.Web.UI.Design.WebControls.DataGridDesigner
CreateTemplateEditingFrame(TemplateEditingVerb verb) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
GetCachedTemplateEditingVerbs() Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
GetTemplateContainerDataItemProperty(String templateName) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
GetTemplateContent(ITemplateEditingFrame editingFrame,String templateName,Boolean& allowEditing) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
GetTemplatePropertyParentType(String templateName) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
SetTemplateContent(ITemplateEditingFrame editingFrame,String templateName,String templateContent) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
 
System.Web.UI.Design.WebControls.DataListDesigner
CreateTemplateEditingFrame(TemplateEditingVerb verb) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
GetCachedTemplateEditingVerbs() Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
GetTemplateContainerDataItemProperty(String templateName) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
GetTemplateContent(ITemplateEditingFrame editingFrame,String templateName,Boolean& allowEditing) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
SetTemplateContent(ITemplateEditingFrame editingFrame,String templateName,String templateContent) Message: Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
 
System.Web.UI.Design.WebControls.PanelDesigner (Type Obsoleted)
Message: The recommended alternative is PanelContainerDesigner because it uses an EditableDesignerRegion for editing the content. Designer regions allow for better control of the content being edited.

Top of PageTop of Page


System.dll

System.ComponentModel.MemberDescriptor
GetInvokee(Type componentClass,Object component) Message: This method has been deprecated. Use GetInvocationTarget instead.
 
System.ComponentModel.IComNativeDescriptorHandler (Type Obsoleted)
Message: This interface has been deprecated. Add a TypeDescriptionProvider to handle type TypeDescriptor.ComObjectType instead.
 
System.ComponentModel.RecommendedAsConfigurableAttribute (Type Obsoleted)
Message: Use System.ComponentModel.SettingsBindableAttribute instead to work with the new settings model.
 
System.ComponentModel.TypeDescriptor
ComNativeDescriptorHandler Message: This property has been deprecated. Use a type description provider to supply type information for COM types instead.
 
System.ComponentModel.Design.DesignerTransactionCloseEventArgs
DesignerTransactionCloseEventArgs(Boolean commit) Message: This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead.
 
System.ComponentModel.Design.SelectionTypes
Normal Message: This value has been deprecated. Use SelectionTypes.Auto instead.
MouseDown Message: This value has been deprecated. It is no longer supported.
MouseUp Message: This value has been deprecated. It is no longer supported.
Click Message: This value has been deprecated. Use SelectionTypes.Primary instead.
Valid Message: This value has been deprecated. Use Enum class methods to determine valid values, or use a type converter.
 
System.ComponentModel.Design.ViewTechnology
Passthrough Message: This value has been deprecated. Use ViewTechnology.Default instead.
WindowsForms Message: This value has been deprecated. Use ViewTechnology.Default instead.
 
System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute (Type Obsoleted)
Message: This attribute has been deprecated. Use DesignerSerializerAttribute instead. For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)).
 
System.CodeDom.Compiler.CodeDomProvider
CreateGenerator() Message: Callers should not use the ICodeGenerator interface and should instead use the methods directly on the CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method.
CreateCompiler() Message: Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method.
CreateParser() Message: Callers should not use the ICodeParser interface and should instead use the methods directly on the CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method.
 
System.Collections.Specialized.NameObjectCollectionBase
NameObjectCollectionBase(IHashCodeProvider hashProvider,IComparer comparer) Message: Please use NameObjectCollectionBase(IEqualityComparer) instead.
NameObjectCollectionBase(Int32 capacity,IHashCodeProvider hashProvider,IComparer comparer) Message: Please use NameObjectCollectionBase(Int32, IEqualityComparer) instead.
 
System.Collections.Specialized.NameValueCollection
NameValueCollection(IHashCodeProvider hashProvider,IComparer comparer) Message: Please use NameValueCollection(IEqualityComparer) instead.
NameValueCollection(Int32 capacity,IHashCodeProvider hashProvider,IComparer comparer) Message: Please use NameValueCollection(Int32, IEqualityComparer) instead.
 
Microsoft.Win32.SystemEvents
LowMemory Message: This event has been deprecated.
 
Microsoft.CSharp.CSharpCodeProvider
CreateGenerator() Message: Callers should not use the ICodeGenerator interface and should instead use the methods directly on the CodeDomProvider class.
CreateCompiler() Message: Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.
 
Microsoft.VisualBasic.VBCodeProvider
CreateGenerator() Message: Callers should not use the ICodeGenerator interface and should instead use the methods directly on the CodeDomProvider class.
CreateCompiler() Message: Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.
 
System.Uri
MakeRelative(Uri toUri) Message: The method has been deprecated. Please use MakeRelativeUri(Uri uri).
Parse() Message: The method has been deprecated. It is not used by the system.
Canonicalize() Message: The method has been deprecated. It is not used by the system.
Escape() Message: The method has been deprecated. It is not used by the system.
Unescape(String path) Message: The method has been deprecated. Please use GetComponents() or static UnescapeDataString() to unescape a Uri component or a string.
EscapeString(String str) Message: The method has been deprecated. Please use GetComponents() or static EscapeUriString() to escape a Uri component or a string.
CheckSecurity() Message: The method has been deprecated. It is not used by the system.
IsReservedCharacter(Char character) Message: The method has been deprecated. It is not used by the system.
IsExcludedCharacter(Char character) Message: The method has been deprecated. It is not used by the system.
IsBadFileSystemCharacter(Char character) Message: The method has been deprecated. It is not used by the system.
Uri(String uriString,Boolean dontEscape) Message: The constructor has been deprecated. Please use new Uri(string). The dontEscape parameter is deprecated and is always false.
Uri(Uri baseUri,String relativeUri,Boolean dontEscape) Message: The constructor has been deprecated. Please new Uri(Uri, string). The dontEscape parameter is deprecated and is always false.
 
System.Net.Dns
GetHostByName(String hostName) Message: GetHostByName is obsoleted for this type, please use GetHostEntry instead.
GetHostByAddress(String address) Message: GetHostByAddress is obsoleted for this type, please use GetHostEntry instead.
GetHostByAddress(IPAddress address) Message: GetHostByAddress is obsoleted for this type, please use GetHostEntry instead.
Resolve(String hostName) Message: Resolve is obsoleted for this type, please use GetHostEntry instead.
BeginGetHostByName(String hostName,AsyncCallback requestCallback,Object stateObject) Message: BeginGetHostByName is obsoleted for this type, please use BeginGetHostEntry instead.
EndGetHostByName(IAsyncResult asyncResult) Message: EndGetHostByName is obsoleted for this type, please use EndGetHostEntry instead.
BeginResolve(String hostName,AsyncCallback requestCallback,Object stateObject) Message: BeginResolve is obsoleted for this type, please use BeginGetHostEntry instead.
EndResolve(IAsyncResult asyncResult) Message: EndResolve is obsoleted for this type, please use EndGetHostEntry instead.
 
System.Net.FileWebRequest
FileWebRequest(SerializationInfo serializationInfo,StreamingContext streamingContext) Message: Serialization is obsoleted for this type.
 
System.Net.FileWebResponse
FileWebResponse(SerializationInfo serializationInfo,StreamingContext streamingContext) Message: Serialization is obsoleted for this type.
 
System.Net.GlobalProxySelection (Type Obsoleted)
Message: This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy.
 
System.Net.HttpWebRequest
HttpWebRequest(SerializationInfo serializationInfo,StreamingContext streamingContext) Message: Serialization is obsoleted for this type.
 
System.Net.HttpWebResponse
HttpWebResponse(SerializationInfo serializationInfo,StreamingContext streamingContext) Message: Serialization is obsoleted for this type.
 
System.Net.ServicePointManager
CertificatePolicy Message: CertificatePolicy is obsoleted for this type, please use ServerCertificateValidationCallback instead.
 
System.Net.WebProxy
GetDefaultProxy() Message: This method has been deprecated. Please use the proxy selected for you by default.
 
System.Net.Sockets.Socket
SupportsIPv6 Message: SupportsIPv6 is obsoleted for this type, please use OSSupportsIPv6 instead.
 
System.Configuration.ConfigurationException
GetXmlNodeFilename(XmlNode node) Message: This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetFilename instead
GetXmlNodeLineNumber(XmlNode node) Message: This class is obsolete, use System.Configuration!System.Configuration.ConfigurationErrorsException.GetLinenumber instead
ConfigurationException() Message: This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException
ConfigurationException(String message) Message: This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException
ConfigurationException(String message,Exception inner) Message: This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException
ConfigurationException(String message,XmlNode node) Message: This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException
ConfigurationException(String message,Exception inner,XmlNode node) Message: This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException
ConfigurationException(String message,String filename,Int32 line) Message: This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException
ConfigurationException(String message,Exception inner,String filename,Int32 line) Message: This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException
 
System.Configuration.ConfigurationSettings
GetConfig(String sectionName) Message: This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.GetSection
AppSettings Message: This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings
 
System.Diagnostics.DiagnosticsConfigurationHandler (Type Obsoleted)
Message: This class has been deprecated.
 
System.Diagnostics.EventLog
CreateEventSource(String source,String logName,String machineName) Message: This method has been deprecated. Please use System.Diagnostics.EventLog.CreateEventSource(EventSourceCreationData sourceData) instead.
 
System.Diagnostics.EventLogEntry
EventID Message: This property has been deprecated. Please use System.Diagnostics.EventLogEntry.InstanceId instead.
 
System.Diagnostics.EventLogPermissionAccess
Browse Message: This member has been deprecated. Please use System.Diagnostics.EventLogPermissionAccess.Administer instead.
Instrument Message: This member has been deprecated. Please use System.Diagnostics.EventLogPermissionAccess.Write instead.
Audit Message: This member has been deprecated. Please use System.Diagnostics.EventLogPermissionAccess.Administer instead.
 
System.Diagnostics.InstanceDataCollection
InstanceDataCollection(String counterName) Message: This constructor has been deprecated. Please use System.Diagnostics.InstanceDataCollectionCollection.get_Item to get an instance of this collection instead.
 
System.Diagnostics.InstanceDataCollectionCollection
InstanceDataCollectionCollection() Message: This constructor has been deprecated. Please use System.Diagnostics.PerformanceCounterCategory.ReadCategory() to get an instance of this collection instead.
 
System.Diagnostics.PerformanceCounter
DefaultFileMappingSize Message: This field has been deprecated and is not used. Use machine.config or an application configuration file to set the size of the PerformanceCounter file mapping.
 
System.Diagnostics.PerformanceCounterCategory
Create(String categoryName,String categoryHelp,String counterName,String counterHelp) Message: This method has been deprecated. Please use System.Diagnostics.PerformanceCounterCategory.Create(string categoryName, string categoryHelp, PerformanceCounterCategoryType categoryType, string counterName, string counterHelp) instead.
Create(String categoryName,String categoryHelp,CounterCreationDataCollection counterData) Message: This method has been deprecated. Please use System.Diagnostics.PerformanceCounterCategory.Create(string categoryName, string categoryHelp, PerformanceCounterCategoryType categoryType, CounterCreationDataCollection counterData) instead.
 
System.Diagnostics.PerformanceCounterManager (Type Obsoleted)
Message: This class has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead.
 
System.Diagnostics.PerformanceCounterPermissionAccess
Browse Message: This member has been deprecated. Use System.Diagnostics.PerformanceCounter.PerformanceCounterPermissionAccess.Read instead.
Instrument Message: This member has been deprecated. Use System.Diagnostics.PerformanceCounter.PerformanceCounterPermissionAccess.Write instead.
 
System.Diagnostics.Process
NonpagedSystemMemorySize Message: This property has been deprecated. Please use System.Diagnostics.Process.NonpagedSystemMemorySize64 instead.
PagedMemorySize Message: This property has been deprecated. Please use System.Diagnostics.Process.PagedMemorySize64 instead.
PagedSystemMemorySize Message: This property has been deprecated. Please use System.Diagnostics.Process.PagedSystemMemorySize64 instead.
PeakPagedMemorySize Message: This property has been deprecated. Please use System.Diagnostics.Process.PeakPagedMemorySize64 instead.
PeakWorkingSet Message: This property has been deprecated. Please use System.Diagnostics.Process.PeakWorkingSet64 instead.
PeakVirtualMemorySize Message: This property has been deprecated. Please use System.Diagnostics.Process.PeakVirtualMemorySize64 instead.
PrivateMemorySize Message: This property has been deprecated. Please use System.Diagnostics.Process.PrivateMemorySize64 instead.
VirtualMemorySize Message: This property has been deprecated. Please use System.Diagnostics.Process.VirtualMemorySize64 instead.
WorkingSet Message: This property has been deprecated. Please use System.Diagnostics.Process.WorkingSet64 instead.

Top of PageTop of Page


System.Messaging.dll

System.Messaging.MessageQueue
GetEnumerator() Message: This method returns a MessageEnumerator that implements RemoveCurrent family of methods incorrectly. Please use GetMessageEnumerator2 instead.
GetMessageEnumerator() Message: This method returns a MessageEnumerator that implements RemoveCurrent family of methods incorrectly. Please use GetMessageEnumerator2 instead.

Top of PageTop of Page


System.Web.Configuration.dll

System.Web.Configuration.HttpCapabilitiesBase
JavaScript Message: The recommended alternative is the EcmaScriptVersion property. A Major version value greater than or equal to 1 implies JavaScript support.

Top of PageTop of Page


System.Web.dll

System.Web.HttpContext
GetAppConfig(String name) Message: The recommended alternative is System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection in System.Web.dll.
GetConfig(String name) Message: The recommended alternative is System.Web.HttpContext.GetSection in System.Web.dll.
 
System.Web.UI.TemplateControl
AutoHandlers Message: Use of this property is not recommended because it is no longer useful.
 
System.Web.UI.Page
GetPostBackEventReference(Control control) Message: The recommended alternative is ClientScript.GetPostBackEventReference.
GetPostBackEventReference(Control control,String argument) Message: The recommended alternative is ClientScript.GetPostBackEventReference.
GetPostBackClientEvent(Control control,String argument) Message: The recommended alternative is ClientScript.GetPostBackEventReference.
GetPostBackClientHyperlink(Control control,String argument) Message: The recommended alternative is ClientScript.GetPostBackClientHyperlink.
IsClientScriptBlockRegistered(String key) Message: The recommended alternative is ClientScript.IsClientScriptBlockRegistered(string key).
IsStartupScriptRegistered(String key) Message: The recommended alternative is ClientScript.IsStartupScriptRegistered(string key).
RegisterArrayDeclaration(String arrayName,String arrayValue) Message: The recommended alternative is ClientScript.RegisterArrayDeclaration(string arrayName, string arrayValue).
RegisterHiddenField(String hiddenFieldName,String hiddenFieldInitialValue) Message: The recommended alternative is ClientScript.RegisterHiddenField(string hiddenFieldName, string hiddenFieldInitialValue).
RegisterClientScriptBlock(String key,String script) Message: The recommended alternative is ClientScript.RegisterClientScriptBlock(Type type, string key, string script).
RegisterStartupScript(String key,String script) Message: The recommended alternative is ClientScript.RegisterStartupScript(Type type, string key, string script).
RegisterOnSubmitStatement(String key,String script) Message: The recommended alternative is ClientScript.RegisterOnSubmitStatement(Type type, string key, string script).
FileDependencies Message: The recommended alternative is HttpResponse.AddFileDependencies.
SmartNavigation Message: The recommended alternative is Page.SetFocus and Page.MaintainScrollPositionOnPostBack.
 
System.Web.UI.WebControls.Xml
Document Message: The recommended alternative is the XPathNavigator property. Create a System.Xml.XPath.XPathDocument and call CreateNavigator() to create an XPathNavigator.
 
System.Web.Mail.SmtpMail (Type Obsoleted)
Message: The recommended alternative is System.Net.Mail.SmtpClient.
 
System.Web.Mail.MailFormat (Type Obsoleted)
Message: The recommended alternative is System.Net.Mail.MailMessage.IsBodyHtml.
 
System.Web.Mail.MailPriority (Type Obsoleted)
Message: The recommended alternative is System.Net.Mail.MailPriority.
 
System.Web.Mail.MailEncoding (Type Obsoleted)
Message: The recommended alternative is System.Net.Mime.TransferEncoding.
 
System.Web.Mail.MailAttachment (Type Obsoleted)
Message: The recommended alternative is System.Net.Mail.Attachment.
 
System.Web.Mail.MailMessage (Type Obsoleted)
Message: The recommended alternative is System.Net.Mail.MailMessage.

Top of PageTop of Page


System.Web.Mobile.dll

System.Web.Mobile.MobileDeviceCapabilitiesSectionHandler (Type Obsoleted)
Message: This class has been deprecated. Please use the System.Web.Mobile.DeviceFiltersSection class instead.
 
System.Web.UI.MobileControls.MobileControlsSectionHandler (Type Obsoleted)
Message: This class has been deprecated. Please use the System.Web.UI.MobileControls.MobileControlsSection class instead.

Top of PageTop of Page


System.Web.Services.dll

System.Web.Services.Discovery.DiscoveryClientProtocol
LoadExternals() Message: This method will be removed from a future version. The method call is no longer required for resource discovery

Top of PageTop of Page


System.Windows.Forms.dll

System.Windows.Forms.AccessibleStates
Valid Message: This enumeration value has been deprecated. There is no replacement.
 
System.Windows.Forms.Control
Scale(Single ratio) Message: This method has been deprecated. Use the Scale(SizeF ratio) method instead.
Scale(Single dx,Single dy) Message: This method has been deprecated. Use the Scale(SizeF ratio) method instead.
 
System.Windows.Forms.ListBox
AddItemsCore(Object[] value) Message: This method has been deprecated. There is no replacement.
 
System.Windows.Forms.ComboBox
AddItemsCore(Object[] value) Message: This method has been deprecated. There is no replacement.
 
System.Windows.Forms.Form
ApplyAutoScaling() Message: This method has been deprecated. Use the ApplyAutoScaling method instead.
GetAutoScaleSize(Font font) Message: This method has been deprecated. Use the AutoScaleDimensions property instead.
AutoScale Message: This property has been deprecated. Use the AutoScaleMode property instead.
 
System.Windows.Forms.Label
RenderTransparent Message: This property has been deprecated. Use BackColor instead.
 
System.Windows.Forms.PrintPreviewDialog
AutoScaleBaseSize Message: This property has been deprecated. Use the AutoScaleDimensions property instead.

Top of PageTop of Page


System.Xml.dll

System.Xml.XmlConvert
ToString(DateTime value) Message: Use XmlConvert.ToString() that takes in XmlDateTimeSerializationMode
ToDateTime(String s) Message: Use XmlConvert.ToDateTime() that takes in XmlDateTimeSerializationMode
 
System.Xml.ValidationType
Auto Message: Validation type should be specified as DTD or Schema.
XDR Message: XDR Validation through XmlValidatingReader is obsoleted
 
System.Xml.XmlValidatingReader (Type Obsoleted)
Message: Use XmlReader created by XmlReader.Create() method using appropriate XmlReaderSettings instead.
 
System.Xml.Schema.XmlSchema
Compile(ValidationEventHandler validationEventHandler) Message: Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation.
Compile(ValidationEventHandler validationEventHandler,XmlResolver resolver) Message: Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation.
 
System.Xml.Schema.XmlSchemaAttribute
AttributeType Message: This property has been deprecated. Please use AttributeSchemaType property that returns a strongly typed attribute type.
 
System.Xml.Schema.XmlSchemaCollection (Type Obsoleted)
Message: Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation.
 
System.Xml.Schema.XmlSchemaType
BaseSchemaType Message: This property has been deprecated. Please use BaseXmlSchemaType property that returns a strongly typed base schema type.
 
System.Xml.Schema.XmlSchemaElement
ElementType Message: This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type.
 
System.Xml.Serialization.CodeIdentifier
CodeIdentifier() Message: This class should never get constructed as it contains only static methods.

Top of PageTop of Page


VJSharpCodeProvider.dll

Microsoft.VJSharp.VJSharpCodeProvider
CreateGenerator() Message: Callers should not use the ICodeGenerator interface and should instead use the methods directly on the CodeDomProvider class.
CreateCompiler() Message: Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.