|
72 | 72 | </Attributes> |
73 | 73 | <Docs> |
74 | 74 | <summary>Serializes and deserializes an object, or an entire graph of connected objects, in binary format.</summary> |
75 | | - <remarks>Warning: BinaryFormatter is insecure and can't be made secure. For more information, see the <see href="/dotnet/standard/serialization/binaryformatter-security-guide">BinaryFormatter security guide</see> and <see href="/previous-versions/dotnet/fundamentals/serialization/binary/system-runtime-serialization-formatters-binary-binaryformatter">System.Runtime.Serialization.Formatters.Binary.BinaryFormatter class</see>.</remarks> |
| 75 | + <remarks>Warning: BinaryFormatter is insecure and can't be made secure. For more information, see the <see href="/dotnet/standard/serialization/binaryformatter-security-guide">BinaryFormatter security guide</see>. The in-box implementation of BinaryFormatter was removed in .NET 9. For more information, see <see href="/dotnet/standard/serialization/binaryformatter-migration-guide/">BinaryFormatter migration guide</see>.</remarks> |
76 | 76 | </Docs> |
77 | 77 | <Members> |
78 | 78 | <MemberGroup MemberName=".ctor"> |
@@ -132,7 +132,6 @@ This constructor sets the properties of the <xref:System.Runtime.Serialization.F |
132 | 132 | |-------------------|---------------| |
133 | 133 | |<xref:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.SurrogateSelector%2A>|`null`| |
134 | 134 | |<xref:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Context%2A>|A <xref:System.Runtime.Serialization.StreamingContext> with a value that indicates that serialized data can be transmitted to or received from any of the other contexts. (<xref:System.Runtime.Serialization.StreamingContextStates.All?displayProperty=nameWithType>)| |
135 | | -
|
136 | 135 | ]]></format> |
137 | 136 | </remarks> |
138 | 137 | </Docs> |
@@ -460,7 +459,8 @@ An error occurred while deserializing an object from the input stream. |
460 | 459 |
|
461 | 460 | The <see langword="InnerException" /> property may contain more information about the root cause.</exception> |
462 | 461 | <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception> |
463 | | - <exception cref="T:System.NotSupportedException">ASP.NET Core 5 and later: Always thrown unless <see cref="T:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter" /> functionality is re-enabled in the project file. For more information, see <see href="https://aka.ms/binaryformatter">Resolving BinaryFormatter obsoletion and disablement errors</see>.</exception> |
| 462 | + <exception cref="T:System.NotSupportedException">ASP.NET Core 5-8: Always thrown unless <see cref="T:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter" /> functionality is re-enabled in the project file. For more information, see <see href="https://aka.ms/binaryformatter">Resolving BinaryFormatter obsoletion and disablement errors</see>.</exception> |
| 463 | + <exception cref="T:System.PlatformNotSupportedException">.NET 9 and later versions: In all cases. For more information, see <see href="https://learn.microsoft.com/dotnet/standard/serialization/binaryformatter-migration-guide/">BinaryFormatter migration guide</see>.</exception> |
464 | 464 | </Docs> |
465 | 465 | </Member> |
466 | 466 | <Member MemberName="Deserialize"> |
@@ -635,7 +635,6 @@ For deserialization to succeed, the current position in the stream must be at th |
635 | 635 |
|
636 | 636 | ]]></format> |
637 | 637 | </remarks> |
638 | | - <related type="Article" href="https://learn.microsoft.com/previous-versions/dotnet/netframework-4.0/5dxse167(v=vs.100)">Automatic Deserialization in .NET Framework Remoting</related> |
639 | 638 | </Docs> |
640 | 639 | </Member> |
641 | 640 | <MemberGroup MemberName="Serialize"> |
@@ -730,7 +729,8 @@ For deserialization to succeed, the current position in the stream must be at th |
730 | 729 | The <paramref name="graph" /> is null.</exception> |
731 | 730 | <exception cref="T:System.Runtime.Serialization.SerializationException">An error has occurred during serialization, such as if an object in the <paramref name="graph" /> parameter is not marked as serializable.</exception> |
732 | 731 | <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception> |
733 | | - <exception cref="T:System.NotSupportedException">ASP.NET Core 5 and later: Always thrown unless <see cref="T:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter" /> functionality is re-enabled in the project file. For more information, see <see href="https://aka.ms/binaryformatter">Resolving BinaryFormatter obsoletion and disablement errors</see>.</exception> |
| 732 | + <exception cref="T:System.NotSupportedException">ASP.NET Core 5-8: Always thrown unless <see cref="T:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter" /> functionality is re-enabled in the project file. For more information, see <see href="https://aka.ms/binaryformatter">Resolving BinaryFormatter obsoletion and disablement errors</see>.</exception> |
| 733 | + <exception cref="T:System.PlatformNotSupportedException">.NET 9 and later versions: In all cases. For more information, see <see href="https://learn.microsoft.com/dotnet/standard/serialization/binaryformatter-migration-guide/">BinaryFormatter migration guide</see>.</exception> |
734 | 734 | </Docs> |
735 | 735 | </Member> |
736 | 736 | <Member MemberName="Serialize"> |
|
0 commit comments