Obsolete members in .NET Framework
This article list the type members that are obsolete in .NET Framework 4.5 and later versions. Type members are grouped by assembly.
This article doesn't list the members of obsolete types. For a list of obsolete types, see Obsolete types.
mscorlib.dll
PresentationCore.dll
PresentationFramework.dll
System.Activities.dll
Type | Member | Message |
---|---|---|
System.Activities.Debugger.XamlDebuggerXmlReader | XamlDebuggerXmlReader(XamlReader, IXamlLineInfo, TextReader) | First deprecated in the .NET Framework 4.5. Don't use this constructor. Use XamlDebuggerXmlReader(TextReader) or XamlDebuggerXmlReader(TextReader, XamlSchemaContext) instead. |
System.Activities.Debugger.XamlDebuggerXmlReader | XamlDebuggerXmlReader(XamlReader, TextReader) | First deprecated in the .NET Framework 4.5. Don't use this constructor. Use XamlDebuggerXmlReader(TextReader) or XamlDebuggerXmlReader(TextReader, XamlSchemaContext) instead. |
System.Activities.Presentation.dll
Type | Member | Message |
---|---|---|
System.Activities.Presentation.DragDropHelper | DoDragMove(WorkflowViewElement, Point) | This method doesn't support dragging multiple items. |
System.Activities.Presentation.DragDropHelper | GetCompositeView(DragEventArgs) | First deprecated in the .NET Framework 4.5. This method doesn't support dragging multiple items. Use GetCompositeView(WorkflowViewElement) instead. |
System.Activities.Presentation.DragDropHelper | GetDragDropCompletedEffects | This method doesn't support dragging multiple items. |
System.Activities.Presentation.DragDropHelper | GetDraggedModelItem | First deprecated in the .NET Framework 4.5. This method doesn't support dragging multiple items. Use GetDraggedModelItems instead. |
System.Activities.Presentation.DragDropHelper | GetDroppedObject | First deprecated in the .NET Framework 4.5. This method doesn't support dragging multiple items. Use GetDroppedObjects instead. |
System.Activities.Presentation.DragDropHelper | SetDragDropCompletedEffects | This method doesn't support dragging multiple items. |
System.Activities.Presentation.Services.ModelChangedEventArgs | ItemsAdded | First deprecated in the .NET Framework 4.5. Don't use this property. Use ModelChangeInfo instead. |
System.Activities.Presentation.Services.ModelChangedEventArgs | ItemsRemoved | First deprecated in the .NET Framework 4.5. Don't use this property. Use ModelChangeInfo instead. |
System.Activities.Presentation.Services.ModelChangedEventArgs | PropertiesChanged | First deprecated in the .NET Framework 4.5. Don't use this property. Use ModelChangeInfo instead. |
System.Core.dll
System.Data.dll
System.Data.Entity.dll
Type | Member | Message |
---|---|---|
System.Data.Metadata.Edm.AssociationSetEnd | Role | This property is going away, Use the AssociationSetEnd.Name property instead. |
System.Data.Metadata.Edm.MetadataWorkspace | GetRequiredOriginalValueMembers | First deprecated in the .NET Framework 4.5. Use MetadataWorkspace.GetRelevantMembersForUpdate instead. |
System.Data.Objects.ObjectContext | ApplyPropertyChanges | Use ObjectContext.ApplyCurrentValues instead. |
System.Data.Objects.ObjectContext | SaveChanges(Boolean) | Use SaveChanges(SaveOptions) instead. |
System.Data.OracleClient.dll
Type | Member | Message |
---|---|---|
System.Data.OracleClient.OracleParameter | Precision | Precision has been deprecated. Use the System.Math classes to explicitly set the precision of a decimal. |
System.Data.OracleClient.OracleParameter | Scale | Scale has been deprecated. Use the System.Math classes to explicitly set the scale of a decimal. |
System.Data.OracleClient.OracleParameterCollection | Add(String, Object) | Add(String, Object) has been deprecated. Use OracleParameterCollection.AddWithValue. |
System.Design.dll
System.dll
Type | Member | Message |
---|---|---|
Microsoft.CSharp.CSharpCodeProvider | CreateCompiler | Callers should not use the System.CodeDom.Compiler.ICodeCompiler interface and should instead use the methods directly on the System.CodeDom.Compiler.CodeDomProvider class. |
Microsoft.CSharp.CSharpCodeProvider | CreateGenerator | Callers should not use the System.CodeDom.Compiler.ICodeGenerator interface and should instead use the methods directly on the System.CodeDom.Compiler.CodeDomProvider class. |
Microsoft.VisualBasic.VBCodeProvider | CreateCompiler | Callers should not use the System.CodeDom.Compiler.ICodeCompiler interface and should instead use the methods directly on the System.CodeDom.Compiler.CodeDomProvider class. |
Microsoft.VisualBasic.VBCodeProvider | CreateGenerator | Callers should not use the System.CodeDom.Compiler.ICodeGenerator interface and should instead use the methods directly on the System.CodeDom.Compiler.CodeDomProvider class. |
Microsoft.Win32.SystemEvents | LowMemory | This event has been deprecated. |
System.Uri | Canonicalize | The method has been deprecated. It isn't used by the system. |
System.Uri | CheckSecurity | The method has been deprecated. It isn't used by the system. |
System.Uri | Escape | The method has been deprecated. It isn't used by the system. |
System.Uri | EscapeString | The method has been deprecated. Use the GetComponents method or the static EscapeUriString method to escape a Uri component or a string. |
System.Uri | IsBadFileSystemCharacter | The method has been deprecated. It isn't used by the system. |
System.Uri | IsExcludedCharacter | The method has been deprecated. It isn't used by the system. |
System.Uri | IsReservedCharacter | The method has been deprecated. It isn't used by the system. |
System.Uri | MakeRelative | The method has been deprecated. Use Uri.MakeRelativeUri. |
System.Uri | Parse | The method has been deprecated. It isn't used by the system. |
System.Uri | Unescape | The method has been deprecated. Use the Uri.GetComponents method or the static Uri.EscapeUriString method to escape a Uri component or a string. |
System.Uri | Uri(String, Boolean) | The constructor has been deprecated. Use Uri(String). The dontEscape parameter is deprecated and is always false . |
System.Uri | Uri(Uri, String, Boolean) | The constructor has been deprecated. Use Uri(Uri, String). The dontEscape parameter is deprecated and is always false . |
System.CodeDom.Compiler.CodeDomProvider | CreateCompiler | Callers should not use the System.CodeDom.Compiler.ICodeCompiler interface and should instead use the methods directly on the System.CodeDom.Compiler.CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method. |
System.CodeDom.Compiler.CodeDomProvider | CreateGenerator | Callers should not use the System.CodeDom.Compiler.ICodeGenerator interface and should instead use the methods directly on the System.CodeDom.Compiler.CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method. |
System.CodeDom.Compiler.CodeDomProvider | CreateParser | Callers should not use the System.CodeDom.Compiler.ICodeParser interface and should instead use the methods directly on the System.CodeDom.Compiler.CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method. |
System.CodeDom.Compiler.CompilerParameters | Evidence | CAS policy is obsolete and will be removed in a future release of the .NET Framework. For more information, see Security Changes in the .NET Framework 4. |
System.CodeDom.Compiler.CompilerResults | Evidence | CAS policy is obsolete and will be removed in a future release of the .NET Framework. For more information, see Security Changes in the .NET Framework 4. |
System.Collections.Specialized.NameObjectCollectionBase | NameObjectCollectionBase(IHashCodeProvider, IComparer) | Use NameObjectCollectionBase(IEqualityComparer) instead. |
System.Collections.Specialized.NameObjectCollectionBase | NameObjectCollectionBase(Int32, IHashCodeProvider, IComparer) | Use NameObjectCollectionBase(Int32, IEqualityComparer) instead. |
System.Collections.Specialized.NameValueCollection | NameValueCollection(IHashCodeProvider, IComparer) | Use NameValueCollection(IEqualityComparer) instead. |
System.Collections.Specialized.NameValueCollection | NameValueCollection(Int32, IHashCodeProvider, IComparer) | Use NameValueCollection(Int32, IEqualityComparer) instead. |
System.ComponentModel.AsyncCompletedEventArgs | AsyncCompletedEventArgs() | First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.ComponentModel.MemberDescriptor | GetInvokee | This method has been deprecated. Use MemberDescriptor.GetInvocationTarget instead. |
System.ComponentModel.TypeDescriptor | ComNativeDescriptorHandler | This property has been deprecated. Use a type description provider to supply type information for COM types instead. |
System.ComponentModel.Design.DesignerTransactionCloseEventArgs | DesignerTransactionCloseEventArgs(Boolean) | This constructor is obsolete. Use DesignerTransactionCloseEventArgs(Boolean, Boolean) instead. |
System.ComponentModel.Design.SelectionTypes | Click | This value has been deprecated. Use SelectionTypes.Primary instead. |
System.ComponentModel.Design.SelectionTypes | MouseDown | This value has been deprecated. It is no longer supported. |
System.ComponentModel.Design.SelectionTypes | MouseUp | This value has been deprecated. It is no longer supported. |
System.ComponentModel.Design.SelectionTypes | Normal | This value has been deprecated. Use SelectionTypes.Auto instead. |
System.ComponentModel.Design.SelectionTypes | Valid | This value has been deprecated. Use System.Enum class methods to determine valid values, or use a type converter. |
System.ComponentModel.Design.ViewTechnology | Passthrough | This value has been deprecated. Use ViewTechnology.Default instead. |
System.ComponentModel.Design.ViewTechnology | WindowsForms | This value has been deprecated. Use ViewTechnology.Default instead. |
System.Configuration.ConfigurationException | ConfigurationException() | This class is obsolete. To create a new exception, create a System.Configuration.ConfigurationErrorsException. |
System.Configuration.ConfigurationException | ConfigurationException(String) | This class is obsolete. To create a new exception, create a System.Configuration.ConfigurationErrorsException. |
System.Configuration.ConfigurationException | ConfigurationException(String, Exception) | This class is obsolete. To create a new exception, create a System.Configuration.ConfigurationErrorsException. |
System.Configuration.ConfigurationException | ConfigurationException(String, Exception, String, Int32) | This class is obsolete. To create a new exception, create a System.Configuration.ConfigurationErrorsException. |
System.Configuration.ConfigurationException | ConfigurationException(String, Exception, XmlNode) | This class is obsolete. To create a new exception, create a System.Configuration.ConfigurationErrorsException. |
System.Configuration.ConfigurationException | ConfigurationException(String, String, Int32) | This class is obsolete. To create a new exception, create a System.Configuration.ConfigurationErrorsException. |
System.Configuration.ConfigurationException | ConfigurationException(String, XmlNode) | This class is obsolete. To create a new exception, create a System.Configuration.ConfigurationErrorsException. |
System.Configuration.ConfigurationException | GetXmlNodeFilename | This class is obsolete. Use ConfigurationErrorsException.GetFilename instead. |
System.Configuration.ConfigurationException | GetXmlNodeLineNumber | This class is obsolete. Use ConfigurationErrorsException.GetLineNumber(XmlNode) instead |
System.Configuration.ConfigurationSettings | AppSettings | This method is obsolete. It has been replaced by ConfigurationManager.AppSettings. |
System.Configuration.ConfigurationSettings | GetConfig | This method is obsolete. It has been replaced by ConfigurationManager.GetSection. |
System.Diagnostics.EventLog | CreateEventSource(String, String, String) | This method has been deprecated. Use CreateEventSource(EventSourceCreationData) instead. |
System.Diagnostics.EventLogEntry | EventID | This property has been deprecated. Use EventLogEntry.InstanceId instead. |
System.Diagnostics.EventLogPermissionAccess | Audit | This member has been deprecated. Use EventLogPermissionAccess.Administer instead. |
System.Diagnostics.EventLogPermissionAccess | Browse | This member has been deprecated. Use EventLogPermissionAccess.Administer instead. |
System.Diagnostics.EventLogPermissionAccess | Instrument | This member has been deprecated. Use EventLogPermissionAccess.Write instead. |
System.Diagnostics.InstanceDataCollection | InstanceDataCollection | This constructor has been deprecated. Use InstanceDataCollectionCollection.Item[] to get an instance of this collection instead. |
System.Diagnostics.InstanceDataCollectionCollection | InstanceDataCollectionCollection | This constructor has been deprecated. Use PerformanceCounterCategory.ReadCategory to get an instance of this collection instead. |
System.Diagnostics.PerformanceCounter | DefaultFileMappingSize | This field has been deprecated and isn't used. Use machine.config or an application configuration file to set the size of the System.Diagnostics.PerformanceCounter file mapping. |
System.Diagnostics.PerformanceCounterCategory | Create(String, String, CounterCreationDataCollection) | This method has been deprecated. Use Create(String, String, PerformanceCounterCategoryType, CounterCreationDataCollection) instead. |
System.Diagnostics.PerformanceCounterCategory | Create(String, String, String, String) | This method has been deprecated. Use Create(String, String, PerformanceCounterCategoryType, String, String) instead. |
System.Diagnostics.PerformanceCounterManager | ICollectData.CloseData | This class has been deprecated. Use the performance counters through the PerformanceCounter class instead. |
System.Diagnostics.PerformanceCounterManager | ICollectData.CollectData | This class has been deprecated. Use the performance counters through the PerformanceCounter class instead. |
System.Diagnostics.PerformanceCounterManager | PerformanceCounterManager | This class has been deprecated. Use the performance counters through the System.Diagnostics.PerformanceCounter class instead. |
System.Diagnostics.PerformanceCounterPermissionAccess | Browse | This member has been deprecated. Use PerformanceCounterPermissionAccess.Read instead. |
System.Diagnostics.PerformanceCounterPermissionAccess | Instrument | This member has been deprecated. Use PerformanceCounterPermissionAccess.Write instead. |
System.Diagnostics.Process | NonpagedSystemMemorySize | This property has been deprecated. Use Process.NonpagedSystemMemorySize64 instead. |
System.Diagnostics.Process | PagedMemorySize | This property has been deprecated. Use PagedMemorySize64 instead. |
System.Diagnostics.Process | PagedSystemMemorySize | This property has been deprecated. Use Process.PagedSystemMemorySize64 instead. |
System.Diagnostics.Process | PeakPagedMemorySize | This property has been deprecated. Use Process.PeakPagedMemorySize64 instead. |
System.Diagnostics.Process | PeakVirtualMemorySize | This property has been deprecated. Use Process.PeakVirtualMemorySize64 instead. |
System.Diagnostics.Process | PeakWorkingSet | This property has been deprecated. Use Process.PeakWorkingSet64 instead. |
System.Diagnostics.Process | PrivateMemorySize | This property has been deprecated. Use Process.PrivateMemorySize64 instead. |
System.Diagnostics.Process | VirtualMemorySize | This property has been deprecated. Use Process.VirtualMemorySize64 instead. |
System.Diagnostics.Process | WorkingSet | This property has been deprecated. Use Process.WorkingSet64 instead. |
System.Net.Dns | BeginGetHostByName | BeginGetHostByName is obsoleted for this type, Use Dns.BeginGetHostEntry(String, AsyncCallback, Object) instead. |
System.Net.Dns | BeginResolve(String, AsyncCallback, Object) | BeginResolve(String, AsyncCallback, Object) is obsoleted for this type, Use Dns.BeginGetHostEntry(String, AsyncCallback, Object) instead. |
System.Net.Dns | EndGetHostByName | EndGetHostByName is obsoleted for this type, Use Dns.EndGetHostEntry instead. |
System.Net.Dns | EndResolve | EndResolve is obsoleted for this type, Use Dns.EndGetHostEntry instead. |
System.Net.Dns | GetHostByAddress(IPAddress) | GetHostByAddress(IPAddress) is obsoleted for this type, Use Dns.GetHostEntry(IPAddress) instead. |
System.Net.Dns | GetHostByAddress(String) | GetHostByAddress(String) is obsoleted for this type, Use Dns.GetHostEntry(String) instead. |
System.Net.Dns | GetHostByName | GetHostByName is obsoleted for this type, Use Dns.GetHostEntry(String) instead. |
System.Net.Dns | Resolve | Resolve is obsoleted for this type, Use Dns.GetHostEntry(String) instead. |
System.Net.FileWebRequest | FileWebRequest | Serialization is obsoleted for this type. |
System.Net.FileWebResponse | FileWebResponse | Serialization is obsoleted for this type. |
System.Net.HttpWebRequest | HttpWebRequest() | First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.Net.HttpWebRequest | HttpWebRequest(SerializationInfo, StreamingContext) | Serialization is obsoleted for this type. |
System.Net.HttpWebResponse | HttpWebResponse() | First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.Net.HttpWebResponse | HttpWebResponse(SerializationInfo, StreamingContext) | Serialization is obsoleted for this type. |
System.Net.IPAddress | Address | This property has been deprecated. It is address family dependent. Use the IPAddress.Equals method to perform comparisons instead. |
System.Net.ServicePointManager | CertificatePolicy | CertificatePolicy is obsoleted for this type. Use ServicePointManager.ServerCertificateValidationCallback instead. |
System.Net.WebClient | AllowReadStreamBuffering | First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.Net.WebClient | AllowWriteStreamBuffering | First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.Net.WebClient | System.Net.WebClient.OnWriteStreamClosed |
First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.Net.WebClient | WriteStreamClosed | First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.Net.WebProxy | GetDefaultProxy | This method has been deprecated. Use the proxy selected for you by default. |
System.Net.WebRequest | CreatorInstance | First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.Net.WebRequest | RegisterPortableWebRequestCreator | First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.Net.WriteStreamClosedEventArgs | Error | First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.Net.WriteStreamClosedEventArgs | WriteStreamClosedEventArgs | First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.Net.Mail.MailMessage | ReplyTo | ReplyTo is obsoleted for this type. Use MailMessage.ReplyToList instead, which can accept multiple addresses. |
System.Net.NetworkInformation.NetworkChange | NetworkChange() | First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.Net.NetworkInformation.NetworkChange | RegisterNetworkChange(NetworkChange) | First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.Net.Sockets.Socket | SupportsIPv4 | SupportsIPv4 is obsoleted for this type. Use Socket.OSSupportsIPv4 instead. |
System.Net.Sockets.Socket | SupportsIPv6 | SupportsIPv6 is obsoleted for this type. Use Socket.OSSupportsIPv6 instead. |
System.Net.Sockets.SocketAsyncEventArgs | SocketClientAccessPolicyProtocol | First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.Net.Sockets.TcpListener | TcpListener(Int32) | This method has been deprecated. Use TcpListener(IPAddress, Int32) instead. |
System.Net.WebSockets.WebSocket | IsApplicationTargeting45 | First deprecated in the .NET Framework 4.5. This member is for internal use only and will be removed in a future version of the .NET Framework. Don't call it. |
System.Security.Claims.DynamicRoleClaimProvider | AddDynamicRoleClaims | First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. Use System.Security.Claims.ClaimsAuthenticationManager to add claims to a ClaimsIdentity. |
System.Drawing.dll
Type | Member | Message |
---|---|---|
System.Drawing.FontFamily | GetFamilies | Don't use the GetFamilies method; use the FontFamily.Families property instead. |
System.Drawing.Imaging.EncoderParameter | EncoderParameter(Encoder, Int32, Int32, Int32) | First deprecated in the .NET Framework 4.5. This constructor has been deprecated. Use EncoderParameter(Encoder, Int32, EncoderParameterValueType, IntPtr). |
System.Messaging.dll
Type | Member | Message |
---|---|---|
System.Messaging.MessageQueue | GetEnumerator | This method returns a System.Messaging.MessageEnumerator that implements the MessageEnumerator.RemoveCurrent family of methods incorrectly. Use MessageQueue.GetMessageEnumerator2 instead. |
System.Messaging.MessageQueue | GetMessageEnumerator | This method returns a System.Messaging.MessageEnumerator that implements the MessageEnumerator.RemoveCurrent family of methods incorrectly. Use MessageQueue.GetMessageEnumerator2 instead. |
System.ServiceModel.dll
Type | Member | Message |
---|---|---|
System.ServiceModel.BasicHttpBinding | EnableHttpCookieContainer | First deprecated in the .NET Framework 4.5. This property is obsolete. To enable Http CookieContainer, use the HttpBindingBase.AllowCookies property instead. |
System.ServiceModel.Configuration.BindingsSection | NetPeerTcpBinding | First deprecated in the .NET Framework 4.5. The peer channel feature is obsolete and will be removed in the future. |
System.ServiceModel.Dispatcher.ClientOperationCompatBase | ParameterInspectors | First deprecated in the .NET Framework 4.5. Use of this type generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.ServiceModel.Dispatcher.ClientRuntimeCompatBase | MessageInspectors | First deprecated in the .NET Framework 4.5. Use of this type generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.ServiceModel.Dispatcher.ClientRuntimeCompatBase | Operations | First deprecated in the .NET Framework 4.5. Use of this type generates a compiler error. This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code. |
System.ServiceModel.Security.WindowsClientCredential | AllowNtlm | This property is deprecated and is maintained for backward compatibility only. The local machine policy will be used to determine if NTLM should be used. |
System.ServiceModel.Discovery.dll
Type | Member | Message |
---|---|---|
System.ServiceModel.Discovery.UdpAnnouncementEndpoint | TransportSettings | First deprecated in the .NET Framework 4.5. The TransportSettings property is obsolete. Consider using System.ServiceModel.Channels.UdpTransportBindingElement for setting the transport properties. |
System.ServiceModel.Discovery.UdpDiscoveryEndpoint | TransportSettings | First deprecated in the .NET Framework 4.5. The TransportSettings property is obsolete. Consider using System.ServiceModel.Channels.UdpTransportBindingElement for setting the transport properties. |
System.Web.DataVisualization.dll
Type | Member | Message |
---|---|---|
System.Web.UI.DataVisualization.Charting.Chart | ViewStateData | ViewStateData has been deprecated. Investigate Control.ViewState instead. |
System.Web.dll
System.Web.DynamicData.dll
Type | Member | Message |
---|---|---|
System.Web.DynamicData.DynamicDataExtensions | EnablePersistedSelection | Use the EnablePersistedSelection property on a databound control such as System.Web.UI.WebControls.GridView or System.Web.UI.WebControls.ListView. |
System.Web.Extensions.dll
System.Web.Services.dll
Type | Member | Message |
---|---|---|
System.Web.Services.Discovery.DiscoveryClientProtocol | LoadExternals | This method will be removed from a future version. The method call is no longer required for resource discovery. |
System.Web.Services.Protocols.SoapHeaderAttribute | Required | This property will be removed from a future version. The presence of a particular header in a SOAP message is no longer enforced. |
System.Windows.Forms.dll
Type | Member | Message |
---|---|---|
System.Windows.Forms.AccessibleStates | Valid | This enumeration value has been deprecated. There is no replacement. |
System.Windows.Forms.ComboBox | AddItemsCore | This method has been deprecated. There is no replacement. |
System.Windows.Forms.Control | RenderRightToLeft | This property has been deprecated. Use Control.RightToLeft instead. |
System.Windows.Forms.Control | Scale(Single) | This method has been deprecated. Use the Control.Scale(SizeF) method instead. |
System.Windows.Forms.Control | Scale(Single, Single) | This method has been deprecated. Use the Control.Scale(SizeF) method instead. |
System.Windows.Forms.Form | ApplyAutoScaling | This method has been deprecated. Use the PerformAutoScale method instead. |
System.Windows.Forms.Form | AutoScale | This property has been deprecated. Use the ContainerControl.AutoScaleMode property instead. |
System.Windows.Forms.Form | GetAutoScaleSize | This method has been deprecated. Use the ContainerControl.AutoScaleDimensions property instead. |
System.Windows.Forms.Label | RenderTransparent | This property has been deprecated. Use BackColor instead. |
System.Windows.Forms.ListBox | AddItemsCore | This method has been deprecated. There is no replacement. |
System.Windows.Forms.PrintPreviewDialog | AutoScaleBaseSize | This property has been deprecated. Use the ContainerControl.AutoScaleDimensions property instead. |
System.Xaml.dll
Type | Member | Message |
---|---|---|
System.Windows.Markup.MarkupExtensionReturnTypeAttribute | ExpressionType | This isn't used by the XAML parser. See System.Windows.Markup.XamlSetMarkupExtensionAttribute. |
System.Windows.Markup.MarkupExtensionReturnTypeAttribute | MarkupExtensionReturnTypeAttribute(Type, Type) | The expressionType argument isn't used by the XAML parser. To specify the expected return type, use MarkupExtensionReturnTypeAttribute(Type). To specify custom handling for expression types, use System.Windows.Markup.XamlSetMarkupExtensionAttribute. |
System.Xml.dll
IEHost.dll and IEExec.exe
The IEHost.dll and IEExec.exe assemblies have been removed from .NET Framework. All of their types and their members are obsolete and are not supported in .NET Framework 4.5 and later. These assemblies were used to host Windows Forms controls and to run executables in Internet Explorer. Alternatives to this technology include ClickOnce, XAML Browser Applications (XBAP), and Microsoft Silverlight.
ISymWrapper.dll
Type | Member | Message |
---|---|---|
System.Diagnostics.SymbolStore.SymBinder | GetReader(Int32, String, String) | The recommended alternative is SymBinder.GetReader(IntPtr, String, String). ISymbolBinder1.GetReader takes the importer interface pointer as an System.IntPtr instead of an System.Int32, and thus works on both 32-bit and 64-bit architectures. |
Microsoft.Build.Conversion.v4.0.dll
Type | Member | Message |
---|---|---|
Microsoft.Build.Conversion.ProjectFileConverter | Convert(ProjectLoadSettings) | Use parameterless Convert() overload instead. |
Microsoft.Build.Conversion.ProjectFileConverter | Convert(String) | Use parameterless Convert() overload instead. |
Microsoft.Build.Conversion.ProjectFileConverter | ConvertInMemory(Engine) | Use parameterless ProjectFileConverter.ConvertInMemory() method instead. |
Microsoft.Build.Conversion.ProjectFileConverter | ConvertInMemory(Engine, ProjectLoadSettings) | Use parameterless ProjectFileConverter.ConvertInMemory() method instead. |
Microsoft.Build.Engine.dll
Type | Member | Message |
---|---|---|
Microsoft.Build.BuildEngine.Engine | BinPath | Avoid setting BinPath. If you were simply passing in the .NET Framework location as the BinPath, no other action is necessary. Otherwise, define Toolsets instead in the registry or config file, or by adding elements to the Engine's Microsoft.Build.BuildEngine.ToolsetCollection, to use a custom BinPath. |
Microsoft.Build.BuildEngine.Engine | Engine(String) | If you were simply passing in the .NET Framework location as the BinPath, just change to the parameterless Engine() constructor. Otherwise, you can define custom toolsets in the registry or configuration file, or add elements to the Engine's Microsoft.Build.BuildEngine.ToolsetCollection. Then use either the Engine() or Engine(ToolsetDefinitionLocations) constructor instead. |
Microsoft.Build.Framework.dll
Type | Member | Message |
---|---|---|
Microsoft.Build.Framework.XamlTypes.ContentType | ItemGroupName | First deprecated in the .NET Framework 4.5. Use of this member generates a compiler error. Use the ContentType.ItemType property instead. |
Microsoft.Build.Utilities.v4.0.dll
Type | Member | Message |
---|---|---|
Microsoft.Build.Utilities.ToolTask | EnvironmentOverride | Use the ToolTask.EnvironmentVariables property. |
Microsoft.Data.Entity.Build.Tasks.dll
Type | Member | Message |
---|---|---|
Microsoft.Data.Entity.Build.Tasks.EntityDeploy |
EntityDataModelEmbeddedResources |
First deprecated in the .NET Framework 4.5. Used only for version 3.5 backward compatibility. |
Microsoft.VisualBasic.dll
Type | Member | Message |
---|---|---|
Microsoft.VisualBasic.FileSystem | FilePut(Object, Object, Object) | This member has been deprecated. Use FileSystem.FilePutObject to write Object types, or coerce FileNumber and RecordNumber to Int32 for writing non-object types. |
Microsoft.VisualBasic.CompilerServices.Conversions | FallbackUserDefinedConversion | Use of this member generates a compiler error. Don't use this method. |
Microsoft.VisualBasic.CompilerServices.NewLateBinding | FallbackCall | Use of this member generates a compiler error. Don't use this method. |
Microsoft.VisualBasic.CompilerServices.NewLateBinding | FallbackGet | Use of this member generates a compiler error. Don't use this method. |
Microsoft.VisualBasic.CompilerServices.NewLateBinding | FallbackIndexSet | Use of this member generates a compiler error. Don't use this method. |
Microsoft.VisualBasic.CompilerServices.NewLateBinding | FallbackIndexSetComplex | Use of this member generates a compiler error. Don't use this method. |
Microsoft.VisualBasic.CompilerServices.NewLateBinding | FallbackInvokeDefault1 | Use of this member generates a compiler error. Don't use this method. |
Microsoft.VisualBasic.CompilerServices.NewLateBinding | FallbackInvokeDefault2 | Use of this member generates a compiler error. Don't use this method. |
Microsoft.VisualBasic.CompilerServices.NewLateBinding | FallbackSet | Use of this member generates a compiler error. Don't use this method. |
Microsoft.VisualBasic.CompilerServices.NewLateBinding | FallbackSetComplex | Use of this member generates a compiler error. Don't use this method. |
Microsoft.VisualBasic.CompilerServices.Operators | FallbackInvokeUserDefinedOperator | Use of this member generates a compiler error. Don't use this method. |
Microsoft.VisualBasic.MyServices.RegistryProxy | DynData | The DynData registry key works only on Win9x, which isn't supported by this version of .NET Framework. Use the PerformanceData registry key instead. This property will be removed from a future version of .NET Framework. |