diff --git a/xml/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.xml b/xml/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.xml index 8715a93d6e8..5b2af593f91 100644 --- a/xml/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.xml +++ b/xml/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.xml @@ -72,7 +72,7 @@ Serializes and deserializes an object, or an entire graph of connected objects, in binary format. - Warning: BinaryFormatter is insecure and can't be made secure. For more information, see the BinaryFormatter security guide and System.Runtime.Serialization.Formatters.Binary.BinaryFormatter class. + Warning: BinaryFormatter is insecure and can't be made secure. For more information, see the BinaryFormatter security guide. The in-box implementation of BinaryFormatter was removed in .NET 9. For more information, see BinaryFormatter migration guide. @@ -132,7 +132,6 @@ This constructor sets the properties of the |`null`| ||A with a value that indicates that serialized data can be transmitted to or received from any of the other contexts. ()| - ]]> @@ -460,7 +459,8 @@ An error occurred while deserializing an object from the input stream. The property may contain more information about the root cause. The caller does not have the required permission. - ASP.NET Core 5 and later: Always thrown unless functionality is re-enabled in the project file. For more information, see Resolving BinaryFormatter obsoletion and disablement errors. + ASP.NET Core 5-8: Always thrown unless functionality is re-enabled in the project file. For more information, see Resolving BinaryFormatter obsoletion and disablement errors. + .NET 9 and later versions: In all cases. For more information, see BinaryFormatter migration guide. @@ -635,7 +635,6 @@ For deserialization to succeed, the current position in the stream must be at th ]]> - Automatic Deserialization in .NET Framework Remoting @@ -730,7 +729,8 @@ For deserialization to succeed, the current position in the stream must be at th The is null. An error has occurred during serialization, such as if an object in the parameter is not marked as serializable. The caller does not have the required permission. - ASP.NET Core 5 and later: Always thrown unless functionality is re-enabled in the project file. For more information, see Resolving BinaryFormatter obsoletion and disablement errors. + ASP.NET Core 5-8: Always thrown unless functionality is re-enabled in the project file. For more information, see Resolving BinaryFormatter obsoletion and disablement errors. + .NET 9 and later versions: In all cases. For more information, see BinaryFormatter migration guide.