ISerializationSurrogate ISerializationSurrogate ISerializationSurrogate Interface

Definition

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

public interface class ISerializationSurrogate
[System.Runtime.InteropServices.ComVisible(true)]
public interface ISerializationSurrogate
Public Interface ISerializationSurrogate
Attributes

Methods

GetObjectData(Object, SerializationInfo, StreamingContext) GetObjectData(Object, SerializationInfo, StreamingContext) GetObjectData(Object, SerializationInfo, StreamingContext)

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

SetObjectData(Object, SerializationInfo, StreamingContext, ISurrogateSelector) SetObjectData(Object, SerializationInfo, StreamingContext, ISurrogateSelector) SetObjectData(Object, SerializationInfo, StreamingContext, ISurrogateSelector)

Populates the object using the information in the SerializationInfo.

Applies to