The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
SerializationInfo Constructor (Type^, IFormatterConverter^)
.NET Framework (current version)
Creates a new instance of the SerializationInfo class.
This API is not CLS-compliant.
Assembly: mscorlib (in mscorlib.dll)
public: [CLSCompliantAttribute(false)] 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 null. |
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.
.NET Framework
Available since 1.1
Available since 1.1
Show: