ISerializationSurrogate Interface
Collapse the table of content
Expand the table of content

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

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
© 2015 Microsoft