ISurrogateSelector インターフェイス

定義

注意事項

Formatter-based serialization is obsolete and should not be used.

シリアル化サロゲート セレクター クラスを示します。

public interface class ISurrogateSelector
[System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public interface ISurrogateSelector
public interface ISurrogateSelector
[System.Runtime.InteropServices.ComVisible(true)]
public interface ISurrogateSelector
[<System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type ISurrogateSelector = interface
type ISurrogateSelector = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type ISurrogateSelector = interface
Public Interface ISurrogateSelector
派生
属性

注釈

サロゲート セレクターは、他のオブジェクトのシリアル化または逆シリアル化に委任するサロゲートを選択するフォーマッタを支援する ISurrogateSelector インターフェイスを実装します。

メソッド

名前 説明
ChainSelector(ISurrogateSelector)
古い.

現在のインスタンスに、指定したコンテキスト内の指定した型とアセンブリのサロゲートがないかどうかを調べるサロゲートの次の ISurrogateSelector を指定します。

GetNextSelector()
古い.

チェーン内の次のサロゲート セレクターを返します。

GetSurrogate(Type, StreamingContext, ISurrogateSelector)
古い.

指定したシリアル化コンテキストの指定したサロゲート セレクターから始まる、指定したオブジェクトの型を表すサロゲートを検索します。

適用対象