This documentation is archived and is not being maintained.
SerializationInfo Constructor
Visual Studio 2010
Creates a new instance of the SerializationInfo class.
Assembly: mscorlib (in mscorlib.dll)
[CLSCompliantAttribute(false)] public: SerializationInfo( Type^ type, IFormatterConverter^ converter )
Parameters
- type
- Type: System::Type
The Type of the object to serialize.
- converter
- Type: System.Runtime.Serialization::IFormatterConverter
The IFormatterConverter used during deserialization.
| Exception | Condition |
|---|---|
| ArgumentNullException | type or converter is nullptr. |
The IFormatterConverter passed as the converter parameter converts data from its internal representation to the form the user requested. The internal representation of the data within the SerializationInfo depends on the formatter that created it.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: