RemotingSurrogateSelector クラス

定義

MarshalByRefObject から派生したオブジェクトをシリアル化するために使用できるリモート処理サロゲートを選択します。

public ref class RemotingSurrogateSelector : System::Runtime::Serialization::ISurrogateSelector
public class RemotingSurrogateSelector : System.Runtime.Serialization.ISurrogateSelector
[System.Runtime.InteropServices.ComVisible(true)]
public class RemotingSurrogateSelector : System.Runtime.Serialization.ISurrogateSelector
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public class RemotingSurrogateSelector : System.Runtime.Serialization.ISurrogateSelector
type RemotingSurrogateSelector = class
    interface ISurrogateSelector
[<System.Runtime.InteropServices.ComVisible(true)>]
type RemotingSurrogateSelector = class
    interface ISurrogateSelector
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
type RemotingSurrogateSelector = class
    interface ISurrogateSelector
Public Class RemotingSurrogateSelector
Implements ISurrogateSelector
継承
RemotingSurrogateSelector
属性
実装

注釈

サロゲートは、オブジェクトのシリアル化要件を処理できるオブジェクトです。 リモート処理サロゲートは、から派生したオブジェクトのリモート処理シリアル化の要件を処理 MarshalByRefObject します。 は、 RemotingSurrogateSelector およびで使用するために、登録されたサロゲートを管理し BinaryFormatter SoapFormatter ます。

のリモート処理のためにシリアル化する場合、 MarshalByRefObject リモート処理のサロゲートは、 ObjRef リモートオブジェクトをアクティブ化して通信するために必要なすべての関連情報を含むを作成します。 新しく作成されたは、 ObjRef リモートの場所に送信して、プロキシを作成するために使用できます。

注意

このクラスは、リンク確認要求と継承要求をクラスレベルで行います。 は、 SecurityException 直前の呼び出し元または派生クラスにインフラストラクチャアクセス許可がない場合にスローされます。 セキュリティ要求の詳細については、「 リンク 確認要求と 継承の要求」を参照してください。

コンストラクター

RemotingSurrogateSelector()

RemotingSurrogateSelector クラスの新しいインスタンスを初期化します。

プロパティ

Filter

MessageSurrogateFilter の現在のインスタンスの RemotingSurrogateSelector デリゲートを取得または設定します。

メソッド

ChainSelector(ISurrogateSelector)

指定した ISurrogateSelector をサロゲート セレクター チェインに追加します。

Equals(Object)

指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetNextSelector()

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

GetRootObject()

オブジェクト グラフのルートにあるオブジェクトを返します。

GetSurrogate(Type, StreamingContext, ISurrogateSelector)

指定したコンテキストにおける指定した型に適したサロゲートを返します。

GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
SetRootObject(Object)

オブジェクト グラフのルートにあるオブジェクトを設定します。

ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)
UseSoapFormat()

現在のサロゲート セレクターを SOAP 形式を使用できるように設定します。

適用対象

こちらもご覧ください