mscorlib(4.0.0.0) API with additions
ISerializationSurrogate.cs
2 using System.Security;
3 
5 {
7  [ComVisible(true)]
8  public interface ISerializationSurrogate
9  {
15  [SecurityCritical]
16  void GetObjectData(object obj, SerializationInfo info, StreamingContext context);
17 
25  [SecurityCritical]
26  object SetObjectData(object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector);
27  }
28 }
object SetObjectData(object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
Populates the object using the information in the T:System.Runtime.Serialization.SerializationInfo.
Definition: __Canon.cs:3
void GetObjectData(object obj, SerializationInfo info, StreamingContext context)
Populates the provided T:System.Runtime.Serialization.SerializationInfo with the data needed to seria...
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Implements a serialization surrogate selector that allows one object to perform serialization and des...
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
Indicates a serialization surrogate selector class.