Share via


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 されたクラスに プロパティを追加します。

適用対象