Export (0) Print
Expand All

ISurrogateSelector Interface

Indicates a serialization surrogate selector class.

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

[ComVisibleAttribute(true)]
public interface ISurrogateSelector

The ISurrogateSelector type exposes the following members.

  NameDescription
Public methodChainSelectorSpecifies the next ISurrogateSelector for surrogates to examine if the current instance does not have a surrogate for the specified type and assembly in the specified context.
Public methodGetNextSelectorReturns the next surrogate selector in the chain.
Public methodGetSurrogateFinds the surrogate that represents the specified object's type, starting with the specified surrogate selector for the specified serialization context.
Top

Surrogate selectors implement the ISurrogateSelector interface to assist formatters in selecting surrogates to delegate to the serialization or deserialization of other objects.

.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
Show:
© 2015 Microsoft