|
57 | 57 | </Attribute>
|
58 | 58 | </Attributes>
|
59 | 59 | <Docs>
|
60 |
| - <summary>Indicates that a class can be serialized. This class cannot be inherited.</summary> |
| 60 | + <summary>Indicates that a class can be serialized using binary or XML serialization. This class cannot be inherited.</summary> |
61 | 61 | <remarks>
|
62 | 62 | <format type="text/markdown"><. For more information about serialization, see <xref:System.Runtime.Serialization>. |
74 |
| - |
75 |
| - |
| 73 | + For more information about using attributes, see [Attributes](/dotnet/standard/attributes/). For more information about binary serialization, see <xref:System.Runtime.Serialization>. |
| 74 | +
|
| 75 | +> [!NOTE] |
| 76 | +> This attribute does not apply to JSON serialization using <xref:System.Text.Json?displayProperty=fullName>. |
76 | 77 |
|
77 | 78 | ## Examples
|
78 |
| - The following example demonstrates serialization of an object that is marked with the <xref:System.SerializableAttribute> attribute. To use the <xref:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter> instead of the <xref:System.Runtime.Serialization.Formatters.Soap.SoapFormatter>, uncomment the appropriate lines. |
| 79 | + The following example demonstrates SOAP serialization of an object that's marked with the <xref:System.SerializableAttribute> attribute. To use the <xref:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter> instead of the <xref:System.Runtime.Serialization.Formatters.Soap.SoapFormatter>, uncomment the appropriate lines. |
79 | 80 |
|
80 | 81 | :::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/SerializationAttributes/CPP/s.cpp" id="Snippet1":::
|
81 | 82 | :::code language="csharp" source="~/snippets/csharp/System/NonSerializedAttribute/Overview/s.cs" id="Snippet1":::
|
|
0 commit comments