BinaryFormatter
BinaryFormatter()
BinaryFormatter(ISurrogateSelector, StreamingContext)
AssemblyFormat
Binder
Context
FilterLevel
SurrogateSelector
TypeFormat
Deserialize(Stream)
Deserialize(Stream, HeaderHandler)
DeserializeMethodResponse(Stream, HeaderHandler, IMethodCallMessage)
Serialize(Stream, Object)
Serialize(Stream, Object, Header[])
UnsafeDeserialize(Stream, HeaderHandler)
UnsafeDeserializeMethodResponse(Stream, HeaderHandler, IMethodCallMessage)
net10.0-windows7.0
namespace System.Runtime.Serialization.Formatters.Binary
{
[Obsolete("BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.", DiagnosticId = "SYSLIB0011", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
public sealed class BinaryFormatter : IFormatter
{
public BinaryFormatter(ISurrogateSelector? selector, StreamingContext context);
}
}
| NetFx Compat Lab | 6.6 % Reference this API |
|---|---|
| nuget.org | 0.2 % Reference this API |
| Upgrade Planner | 0.1 % Reference this API |
| .NET | 5.06.07.08.09.010.0 |
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 1.01.12.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
| Assemblies | System.Runtime.Serialization.Formatters , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Runtime.Serialization.Formatters , Version=10.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | Your project needs a package reference to |
| Package | System.Runtime.Serialization.Formatters (9.0.3) net8.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API