Windows apps
Collapse the table of content
Expand the table of content
Information
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^, Boolean)

.NET Framework (current version)
 

Initializes a new instance of the SerializationInfo class.

This API is not CLS-compliant.

Namespace:   System.Runtime.Serialization
Assembly:  mscorlib (in mscorlib.dll)

public:
[CLSCompliantAttribute(false)]
SerializationInfo(
	Type^ type,
	IFormatterConverter^ converter,
	bool requireSameTokenInPartialTrust
)

Parameters

type
Type: System::Type^

The Type of the object to serialize.

converter
Type: System.Runtime.Serialization::IFormatterConverter^

The IFormatterConverter used during deserialization.

requireSameTokenInPartialTrust
Type: System::Boolean

Indicates whether the object requires same token in partial trust.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft