ContextAttribute.GetPropertiesForNewContext(IConstructionCallMessage) メソッド

定義

指定されたメッセージに現在のコンテキスト プロパティを追加します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

public:
 virtual void GetPropertiesForNewContext(System::Runtime::Remoting::Activation::IConstructionCallMessage ^ ctorMsg);
public virtual void GetPropertiesForNewContext(System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);
[System.Security.SecurityCritical]
public virtual void GetPropertiesForNewContext(System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);
abstract member GetPropertiesForNewContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> unit
override this.GetPropertiesForNewContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> unit
[<System.Security.SecurityCritical>]
abstract member GetPropertiesForNewContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> unit
override this.GetPropertiesForNewContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> unit
Public Overridable Sub GetPropertiesForNewContext (ctorMsg As IConstructionCallMessage)

パラメーター

ctorMsg
IConstructionCallMessage

コンテキスト プロパティを追加する IConstructionCallMessage

実装

属性

例外

ctorMsg パラメーターはnull

注釈

ContextAttribute クラスは、IContextProperty プロパティの実装です。 GetPropertiesForNewContext メソッドは、メッセージを受信したときに、必要なコンテキスト環境で新しいオブジェクトを作成できるように、指定されたIConstructionCallMessage クラスにプロパティを追加します。

適用対象