ISurrogateSelector ISurrogateSelector ISurrogateSelector ISurrogateSelector Interface

Definition

Indicates a serialization surrogate selector class.

public interface class ISurrogateSelector
[System.Runtime.InteropServices.ComVisible(true)]
public interface ISurrogateSelector
type ISurrogateSelector = interface
Public Interface ISurrogateSelector
Derived
Attributes

Remarks

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

Methods

ChainSelector(ISurrogateSelector) ChainSelector(ISurrogateSelector) ChainSelector(ISurrogateSelector) ChainSelector(ISurrogateSelector)

Specifies 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.

GetNextSelector() GetNextSelector() GetNextSelector() GetNextSelector()

Returns the next surrogate selector in the chain.

GetSurrogate(Type, StreamingContext, ISurrogateSelector) GetSurrogate(Type, StreamingContext, ISurrogateSelector) GetSurrogate(Type, StreamingContext, ISurrogateSelector) GetSurrogate(Type, StreamingContext, ISurrogateSelector)

Finds the surrogate that represents the specified object's type, starting with the specified surrogate selector for the specified serialization context.

Applies to