次の方法で共有


ISurrogateSelector.ChainSelector メソッド

指定したコンテキスト内の指定した型およびアセンブリのサロゲートを現在のインスタンスが持っていない場合は、調べる対象のサロゲートの次の ISurrogateSelector を指定します。

Sub ChainSelector( _
   ByVal selector As ISurrogateSelector _)
[C#]
void ChainSelector(
   ISurrogateSelectorselector);
[C++]
void ChainSelector(
   ISurrogateSelector* selector);
[JScript]
function ChainSelector(
   selector : ISurrogateSelector);

パラメータ

  • selector
    調べる対象となる、次のサロゲート セレクタ。

例外

例外の種類 条件
SecurityException 呼び出し元に、必要なアクセス許可がありません。

解説

このメソッドは、 SecurityPermissionFlag.SerializationFormatter が指定された SecurityPermission に関して SecurityAction.LinkDemand によって保護されています。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

ISurrogateSelector インターフェイス | ISurrogateSelector メンバ | System.Runtime.Serialization 名前空間