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は、BinaryFormatterSoapFormatterで使用する登録済みのサロゲートを管理します。

リモート処理サロゲートは、 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 形式を使用するように現在のサロゲート セレクターを設定します。

適用対象

こちらもご覧ください