IConstructionCallMessage.ContextProperties プロパティ

定義

オブジェクトを作成するコンテキストを定義するコンテキスト プロパティの一覧を取得します。

public:
 property System::Collections::IList ^ ContextProperties { System::Collections::IList ^ get(); };
public System.Collections.IList ContextProperties { get; }
public System.Collections.IList ContextProperties { [System.Security.SecurityCritical] get; }
member this.ContextProperties : System.Collections.IList
[<get: System.Security.SecurityCritical>]
member this.ContextProperties : System.Collections.IList
Public ReadOnly Property ContextProperties As IList

プロパティ値

オブジェクトを構築するコンテキストのプロパティの一覧。

属性

例外

直前の呼び出し元にはインフラストラクチャアクセス許可がありません。

注釈

通常、新しいオブジェクトのコンテキストは、クラスのメタデータ属性に基づいて選択されます。 コンテキスト選択メカニズムは、クラス メタデータにコンパイルされるカスタム属性 (静的コンテキスト プロパティとも呼ばれます) を通じて拡張できます。 オブジェクトをリモートでアクティブ化する場合、 ContextProperties には、構築呼び出しメッセージのさまざまな属性によって提供されたプロパティの一覧が含まれます。 これらのプロパティは、サーバー オブジェクトがアクティブ化されるコンテキストを作成するために使用されます。

適用対象

こちらもご覧ください