Skip to content

Commit 615aa93

Browse files
authored
Update SerializationException condition (#4599)
* update serializationexception condition
1 parent 87dd422 commit 615aa93

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

xml/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,13 @@
444444

445445
-or-
446446

447-
The target type is a <see cref="T:System.Decimal" />, but the value is out of range of the <see cref="T:System.Decimal" /> type.</exception>
447+
The input stream does not represent a well-formed <see cref="T:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter" /> serialized payload.
448+
449+
-or-
450+
451+
An error occurred while deserializing an object from the input stream.
452+
453+
The <see langword="InnerException" /> property may contain more information about the root cause.</exception>
448454
<exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
449455
</Docs>
450456
</Member>

0 commit comments

Comments
 (0)