リモート オブジェクトをアクティブにするアクティベータを取得または設定します。
Property Activator As IActivator
[C#]
IActivator Activator {get; set;}
[C++]
__property IActivator* get_Activator();__property void set_Activator(IActivator*);
[JScript]
function get Activator() : IActivator;function set Activator(IActivator);
プロパティ値
リモート オブジェクトをアクティブにするアクティベータ。
例外
例外の種類 | 条件 |
---|---|
SecurityException | 直前の呼び出し元に、インフラストラクチャ アクセス許可がありません。 |
解説
通常、階層状に整列されたアクティベータのチェインが、アクティブ化処理にかかわるさまざまなタスクを完了します。カスタム アクティベータの組み込みを予定している場合は、アクティベータ階層を走査し、適切な位置にそのアクティベータを組み込んでください。現在のプロパティが返すアクティベータの IActivator.NextActivator プロパティを使用して、アクティベータのチェインを走査します。
クライアント側でメッセージのアクティベータ チェインに独自のアクティベータを追加する場合、必要に応じてそのアクティベータはシリアル化され、サーバー側に転送されます。このため、カスタム アクティベータはシリアル化要件に基づいて十分に軽量化してください。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
.NET Framework セキュリティ:
- SecurityPermission (インフラストラクチャ コードを操作するために必要なアクセス許可) SecurityPermissionFlag.Infrastructure (関連する列挙体)
参照
IConstructionCallMessage インターフェイス | IConstructionCallMessage メンバ | System.Runtime.Remoting.Activation 名前空間