Export (0) Print
Expand All

SerializationInfo Constructor (Type, IFormatterConverter, Boolean)

.NET Framework 4.5

Initializes a new instance of the SerializationInfo class.

This API is not CLS-compliant. 

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

[CLSCompliantAttribute(false)]
public 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

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft