FormatterServices.GetSerializableMembers Method (Type, StreamingContext)
Assembly: mscorlib (in mscorlib.dll)
public static MemberInfo GetSerializableMembers( Type type, StreamingContext context )
- Type: System.Type
The type being serialized or cloned.
- Type: System.Runtime.Serialization.StreamingContext
The context where the serialization occurs.
Generally, the serializable members of a class are the non-transient, non-static members such as fields and properties. To be included, properties must have both a getter and a setter. A class that implements ISerializable or has a serialization surrogate does not have to serialize all these members, or can serialize additional members.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.