Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ms.date: 03/18/2022

<xref:System.Data.SerializationFormat.Binary?displayProperty=nameWithType> is obsolete for <xref:System.Data.DataTable> and <xref:System.Data.DataSet>. Binary serialization relies on <xref:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter>, which is insecure. If you use <xref:System.Data.SerializationFormat.Binary?displayProperty=nameWithType> in your code, obsoletion warning [SYSLIB0038](../../../../fundamentals/syslib-diagnostics/syslib0038.md) will be generated at compile time.

In addition, a <xref:System.ComponentModel.InvalidEnumArgumentException> is thrown at run time if you:
In addition, an <xref:System.ComponentModel.InvalidEnumArgumentException> is thrown at run time if you:

- Set <xref:System.Data.DataSet.RemotingFormat?displayProperty=nameWithType> or <xref:System.Data.DataTable.RemotingFormat?displayProperty=nameWithType> to <xref:System.Data.SerializationFormat.Binary?displayProperty=nameWithType>.
- Call one of the deserialization constructors for <xref:System.Data.DataTable> or <xref:System.Data.DataSet> with binary data.
Expand Down