Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ISurrogateSelector Interface
Collapse the table of content
Expand the table of content

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