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)

[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
Available since 2.0
Return to top
Show: