Skip to content

Revised obsolete types/members for .NET Framework 4.8 #12425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions docs/framework/whats-new/obsolete-members.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,11 @@ The tables in this article list the type members that are obsolete in the .NET F
|<xref:System.Windows.Media.ContainerVisual?displayProperty=nameWithType>|<xref:System.Windows.Media.ContainerVisual.BitmapEffect%2A>|Bitmap effects are deprecated and no longer function. Consider using <xref:System.Windows.Media.Effects.Effect?displayProperty=nameWithType> where appropriate instead.|
|<xref:System.Windows.Media.ContainerVisual?displayProperty=nameWithType>|<xref:System.Windows.Media.ContainerVisual.BitmapEffectInput%2A>|Bitmap effects are deprecated and no longer function. Consider using <xref:System.Windows.Media.Effects.Effect?displayProperty=nameWithType> where appropriate instead.|
|<xref:System.Windows.Media.DrawingContext?displayProperty=nameWithType>|<xref:System.Windows.Media.DrawingContext.PushEffect%2A>|Bitmap effects are deprecated and no longer function. Consider using <xref:System.Windows.Media.Effects.Effect?displayProperty=nameWithType> where appropriate instead.|
|<xref:System.Windows.Media.FormattedText?displayProperty=nameWithType>|<xref:System.Windows.Media.FormattedText.%23ctor(System.String,System.Globalization.CultureInfo,System.Windows.FlowDirection,System.Windows.Media.Typeface,System.Double,System.Windows.Media.Brush)?displayProperty=nameWithType>|Use the PixelsPerDip override.|
|<xref:System.Windows.Media.FormattedText?displayProperty=nameWithType>|<xref:System.Windows.Media.FormattedText.%23ctor(System.String,System.Globalization.CultureInfo,System.Windows.FlowDirection,System.Windows.Media.Typeface,System.Double,System.Windows.Media.Brush,System.Windows.Media.NumberSubstitution)>|Use the PixelsPerDip override.|
|<xref:System.Windows.Media.FormattedText?displayProperty=nameWithType>|<xref:System.Windows.Media.FormattedText.%23ctor(System.String,System.Globalization.CultureInfo,System.Windows.FlowDirection,System.Windows.Media.Typeface,System.Double,System.Windows.Media.Brush,System.Windows.Media.NumberSubstitution,System.Windows.Media.TextFormattingMode)>|Use the PixelsPerDip override.|
|<xref:System.Windows.Media.GlyphRun?displayProperty=nameWithType>|<xref:System.Windows.Media.GlyphRun.%23ctor>|Use the PixelsPerDip override.|
|<xref:System.Windows.Media.GlyphRun?displayProperty=nameWithType>|<xref:System.Windows.Media.GlyphRun.%23ctor(System.Windows.Media.GlyphTypeface,System.Int32,System.Boolean,System.Double,System.Collections.Generic.IList{System.UInt16},System.Windows.Point,System.Collections.Generic.IList{System.Double},System.Collections.Generic.IList{System.Windows.Point},System.Collections.Generic.IList{System.Char},System.String,System.Collections.Generic.IList{System.UInt16},System.Collections.Generic.IList{System.Boolean},System.Windows.Markup.XmlLanguage)>|Use the PixelsPerDip override.|
|<xref:System.Windows.Media.RenderCapability?displayProperty=nameWithType>|<xref:System.Windows.Media.RenderCapability.IsShaderEffectSoftwareRenderingSupported%2A>|This property is deprecated. Use the static <xref:System.Windows.Media.RenderCapability.IsPixelShaderVersionSupportedInSoftware%2A?displayProperty=nameWithType> method instead.|
|<xref:System.Windows.Media.Visual?displayProperty=nameWithType>|<xref:System.Windows.Media.Visual.VisualBitmapEffect%2A>|Bitmap effects are deprecated and no longer function. Consider using <xref:System.Windows.Media.Effects.Effect?displayProperty=nameWithType> where appropriate instead.|
|<xref:System.Windows.Media.Visual?displayProperty=nameWithType>|<xref:System.Windows.Media.Visual.VisualBitmapEffectInput%2A>|Bitmap effects are deprecated and no longer function. Consider using <xref:System.Windows.Media.Effects.Effect?displayProperty=nameWithType> where appropriate instead.|
Expand Down Expand Up @@ -532,7 +537,6 @@ The tables in this article list the type members that are obsolete in the .NET F
|<xref:System.Diagnostics.Process?displayProperty=nameWithType>|<xref:System.Diagnostics.Process.PrivateMemorySize%2A>|This property has been deprecated. Use <xref:System.Diagnostics.Process.PrivateMemorySize64%2A?displayProperty=nameWithType> instead.|
|<xref:System.Diagnostics.Process?displayProperty=nameWithType>|<xref:System.Diagnostics.Process.VirtualMemorySize%2A>|This property has been deprecated. Use <xref:System.Diagnostics.Process.VirtualMemorySize64%2A?displayProperty=nameWithType> instead.|
|<xref:System.Diagnostics.Process?displayProperty=nameWithType>|<xref:System.Diagnostics.Process.WorkingSet%2A>|This property has been deprecated. Use <xref:System.Diagnostics.Process.WorkingSet64%2A?displayProperty=nameWithType> instead.|
|<xref:System.Net.FileWebResponse?displayProperty=nameWithType>|<xref:System.Net.FileWebResponse.%23ctor%2A>|Serialization is obsoleted for this type.|
|<xref:System.Net.Dns?displayProperty=nameWithType>|<xref:System.Net.Dns.BeginGetHostByName%2A>|<xref:System.Net.Dns.BeginGetHostByName%2A> is obsoleted for this type, Use <xref:System.Net.Dns.BeginGetHostEntry%28System.String%2CSystem.AsyncCallback%2CSystem.Object%29?displayProperty=nameWithType> instead.|
|<xref:System.Net.Dns?displayProperty=nameWithType>|<xref:System.Net.Dns.BeginResolve%28System.String%2CSystem.AsyncCallback%2CSystem.Object%29>|<xref:System.Net.Dns.BeginResolve%28System.String%2CSystem.AsyncCallback%2CSystem.Object%29> is obsoleted for this type, Use <xref:System.Net.Dns.BeginGetHostEntry%28System.String%2CSystem.AsyncCallback%2CSystem.Object%29?displayProperty=nameWithType> instead.|
|<xref:System.Net.Dns?displayProperty=nameWithType>|<xref:System.Net.Dns.EndGetHostByName%2A>|<xref:System.Net.Dns.EndGetHostByName%2A> is obsoleted for this type, Use <xref:System.Net.Dns.EndGetHostEntry%2A?displayProperty=nameWithType> instead.|
Expand All @@ -542,6 +546,7 @@ The tables in this article list the type members that are obsolete in the .NET F
|<xref:System.Net.Dns?displayProperty=nameWithType>|<xref:System.Net.Dns.GetHostByName%2A>|<xref:System.Net.Dns.GetHostByName%2A> is obsoleted for this type, Use <xref:System.Net.Dns.GetHostEntry%28System.String%29?displayProperty=nameWithType> instead.|
|<xref:System.Net.Dns?displayProperty=nameWithType>|<xref:System.Net.Dns.Resolve%2A>|<xref:System.Net.Dns.Resolve%2A> is obsoleted for this type, Use <xref:System.Net.Dns.GetHostEntry%28System.String%29?displayProperty=nameWithType> instead.|
|<xref:System.Net.FileWebRequest?displayProperty=nameWithType>|<xref:System.Net.FileWebRequest.%23ctor%2A>|Serialization is obsoleted for this type.|
|<xref:System.Net.FileWebResponse?displayProperty=nameWithType>|<xref:System.Net.FileWebResponse.%23ctor%2A>|Serialization is obsoleted for this type.|
|<xref:System.Net.HttpWebRequest?displayProperty=nameWithType>|<xref:System.Net.HttpWebRequest.%23ctor>|First deprecated in the .NET Framework 4.5.<br /><br /> Use of this member generates a compiler error.<br /><br /> This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code.|
|<xref:System.Net.HttpWebRequest?displayProperty=nameWithType>|<xref:System.Net.HttpWebRequest.%23ctor%28System.Runtime.Serialization.SerializationInfo%2CSystem.Runtime.Serialization.StreamingContext%29>|Serialization is obsoleted for this type.|
|<xref:System.Net.HttpWebResponse?displayProperty=nameWithType>|<xref:System.Net.HttpWebResponse.%23ctor>|First deprecated in the .NET Framework 4.5.<br /><br /> Use of this member generates a compiler error.<br /><br /> This API supports the .NET Framework infrastructure and isn't intended to be used directly from your code.|
Expand Down Expand Up @@ -725,7 +730,7 @@ The tables in this article list the type members that are obsolete in the .NET F
## Obsolete Members in Microsoft Assemblies
The following tables list the obsolete members in Microsoft assemblies. These are special-purpose assemblies and include assemblies that target an individual language (such as Microsoft.VisualBasic.dll) or a build system (such as Microsoft.Build.Engine.dll).

<a name="IEHost"></a>
<a name="IEHost"></a>
### Assembly: IEHost.dll and IEExec.exe
The IEHost.dll and IEExec.exe assemblies have been removed from the .NET Framework. All of their types and their members are obsolete and are not supported in the [!INCLUDE[net_v45](../../../includes/net-v45-md.md)]. 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.

Expand Down
4 changes: 2 additions & 2 deletions docs/framework/whats-new/obsolete-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,8 @@ ms.author: "ronpet"

|Type|Message|
|----------|-------------|
|<xref:System.Activities.Statements.Interop>|First deprecated in the .NET Framework 4.5.<br /><br />The Workflow Foundation 3.0 types are deprecated. Instead, use the Workflow 4.0 types from <xref:System.Activities>.\*.|
|<xref:System.Activities.Tracking.InteropTrackingRecord>|First deprecated in the .NET Framework 4.5.<br /><br />The Workflow Foundation 3.0 types are deprecated. Instead, use the Workflow 4.0 types from <xref:System.Activities>.\*.|
|<xref:System.Activities.Statements.Interop?displayProperty=nameWithType>|First deprecated in the .NET Framework 4.5.<br /><br />The Workflow Foundation 3.0 types are deprecated. Instead, use the Workflow 4.0 types from <xref:System.Activities>.\*.|
|<xref:System.Activities.Tracking.InteropTrackingRecord?displayProperty=nameWithType>|First deprecated in the .NET Framework 4.5.<br /><br />The Workflow Foundation 3.0 types are deprecated. Instead, use the Workflow 4.0 types from <xref:System.Activities>.\*.|
|All types in the <xref:System.Workflow.Runtime> namespace|First deprecated in the .NET Framework 4.5.<br /><br /> The System.Workflow.\* types are deprecated. Instead, please use the new types from <xref:System.Activities>.\*.|
|All types in the <xref:System.Workflow.Runtime.Configuration> namespace|First deprecated in the .NET Framework 4.5.<br /><br /> The System.Workflow.\* types are deprecated. Instead, please use the new types from <xref:System.Activities>.\*.|
|All types in the <xref:System.Workflow.Runtime.DebugEngine> namespace except <xref:System.Workflow.Runtime.DebugEngine.DebugEngineCallback>|First deprecated in the .NET Framework 4.5.<br /><br /> The System.Workflow.\* types are deprecated. Instead, please use the new types from <xref:System.Activities>.\*.|
Expand Down