We're no longer updating this content regularly. Check the Microsoft Product Lifecycle for information about how this product, service, technology, or API is supported.
.NET Framework V2.0 Obsolete Type/Member List (By Namespace)
Namespace Name (click for details)
Obsoleted Members
Obsoleted Types
Microsoft.CSharp
Members:2
Types:3
Microsoft.JScript.Vsa
Members:0
Types:2
Microsoft.VisualBasic
Members:2
Types:0
Microsoft.VisualC
Members:0
Types:10
Microsoft.VisualBasic.Vsa
Members:0
Types:8
Microsoft.VJSharp
Members:2
Types:0
Microsoft.Vsa
Members:0
Types:23
Microsoft.Vsa.Vb.CodeDOM
Members:0
Types:4
Microsoft.Win32
Members:1
Types:0
System
Members:24
Types:1
System.Collections
Members:7
Types:2
System.Collections.Specialized
Members:4
Types:0
System.CodeDom.Compiler
Members:3
Types:0
System.ComponentModel.Design.Serialization
Members:1
Types:1
System.ComponentModel.Design
Members:10
Types:1
System.ComponentModel
Members:2
Types:2
System.Configuration
Members:11
Types:0
System.Configuration.Assemblies
Members:0
Types:1
System.Data
Members:0
Types:3
System.Data.Common
Members:3
Types:0
System.Data.Odbc
Members:1
Types:0
System.Data.OleDb
Members:3
Types:0
System.Data.SqlClient
Members:1
Types:0
System.Data.OracleClient
Members:3
Types:0
System.Diagnostics
Members:21
Types:2
System.Diagnostics.SymbolStore
Members:2
Types:0
System.IO
Members:7
Types:0
System.IO.IsolatedStorage
Members:1
Types:0
System.Messaging
Members:2
Types:0
System.Net
Members:14
Types:1
System.Net.Sockets
Members:1
Types:0
System.Reflection
Members:5
Types:0
System.Reflection.Emit
Members:6
Types:1
System.Runtime.InteropServices
Members:8
Types:46
System.Runtime.Remoting.Channels
Members:1
Types:0
System.Runtime.Remoting
Members:2
Types:0
System.Security
Members:1
Types:0
System.Security.Cryptography
Members:1
Types:0
System.Security.Cryptography.X509Certificates
Members:2
Types:0
System.Security.Permissions
Members:4
Types:0
System.Security.Policy
Members:5
Types:0
System.Threading
Members:11
Types:0
System.Web
Members:2
Types:0
System.Web.Mail
Members:0
Types:6
System.Web.Mobile
Members:0
Types:1
System.Web.Services.Discovery
Members:1
Types:0
System.Web.UI
Members:14
Types:0
System.Web.UI.MobileControls
Members:0
Types:1
System.Web.UI.WebControls
Members:1
Types:0
System.Web.UI.Design
Members:28
Types:11
System.Web.UI.Design.WebControls
Members:13
Types:2
System.Windows.Forms
Members:10
Types:0
System.Windows.Forms.Design
Members:1
Types:0
System.Xml
Members:4
Types:1
System.Xml.Schema
Members:5
Types:1
System.Xml.Serialization
Members:1
Types:0
Top of Page
Microsoft.CSharp
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.
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.
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.
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.
Top of Page
Microsoft.Vsa
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.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 Page
Microsoft.JScript.Vsa
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 Page
System
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.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.
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.
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.
Top of Page
System.Security.Policy
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.
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.
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.
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.
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.
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.
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.
Top of Page
System.Runtime.Remoting.Channels
System.Runtime.Remoting.Channels.ChannelServices
RegisterChannel(IChannel chnl)
Message: Use System.Runtime.Remoting.ChannelServices.RegisterChannel(IChannel chnl, bool ensureSecurity) instead.
Top of Page
System.Runtime.Remoting
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.
Message: DBDataPermission(PermissionState state,Boolean allowBlankPassword) has been deprecated. Use the DBDataPermission(PermissionState.None) constructor.
Top of Page
System.Data.Odbc
System.Data.Odbc.OdbcParameterCollection
Add(String parameterName,Object value)
Message: Add(String parameterName, Object value) has been deprecated. Use AddWithValue(String parameterName, Object value).
Top of Page
System.Data.OleDb
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.
Top of Page
System.Data.SqlClient
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 Page
System.Data.OracleClient
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.
Message: This attribute has been deprecated. Use DesignerSerializerAttribute instead. For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)).
Top of Page
System.ComponentModel.Design
System.ComponentModel.Design.ComponentDesigner
InitializeNonDefault()
Message: This method has been deprecated. Use InitializeExistingComponent instead.
OnSetComponentDefaults()
Message: This method has been deprecated. Use InitializeNewComponent instead.
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.
Top of Page
System.Windows.Forms.Design
System.Windows.Forms.Design.ControlDesigner
OnSetComponentDefaults()
Message: This method has been deprecated. Use InitializeNewComponent instead.
Top of Page
System.Web.UI.Design
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.
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).
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).
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.
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.
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.
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).
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).
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).
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).
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).
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).
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.
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.
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).
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).
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.
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.
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).
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).
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).
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).
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).
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).
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).
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).
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).
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 Page
System.ComponentModel
System.ComponentModel.MemberDescriptor
GetInvokee(Type componentClass,Object component)
Message: This method has been deprecated. Use GetInvocationTarget instead.
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.
Top of Page
System.CodeDom.Compiler
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.
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.
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.
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.
Message: This method has been deprecated. Please use System.Diagnostics.PerformanceCounterCategory.Create(string categoryName, string categoryHelp, PerformanceCounterCategoryType categoryType, string counterName, string counterHelp) instead.
Message: This method has been deprecated. Please use System.Diagnostics.PerformanceCounterCategory.Create(string categoryName, string categoryHelp, PerformanceCounterCategoryType categoryType, CounterCreationDataCollection counterData) instead.
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 Page
System.Messaging
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 Page
System.Web
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.
Top of Page
System.Web.UI
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.
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.
Top of Page
System.Web.UI.WebControls
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.
Top of Page
System.Web.Mail
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.