Export (0) Print
Expand All

ISerializationSurrogate Interface

Implements a serialization surrogate selector that allows one object to perform serialization and deserialization of another.

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

public interface ISerializationSurrogate

The ISerializationSurrogate type exposes the following members.

Public methodGetObjectDataPopulates the provided SerializationInfo with the data needed to serialize the object.
Public methodSetObjectDataPopulates the object using the information in the SerializationInfo.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft