ISerializationSurrogate Interface


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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)

type ISerializationSurrogate = interface end

System_CAPS_pubmethodGetObjectData(Object, SerializationInfo, StreamingContext)

Populates the provided SerializationInfo with the data needed to serialize the object.

System_CAPS_pubmethodSetObjectData(Object, SerializationInfo, StreamingContext, ISurrogateSelector)

Populates the object using the information in the SerializationInfo.

.NET Framework
Available since 1.1
Return to top