Language

IContextAttribute.GetPropertiesForNewContext(IConstructionCallMessage) メソッド

定義

指定されたメッセージの呼び出し元にコンテキスト プロパティを返します。

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

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

パラメーター

msg
IConstructionCallMessage

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

属性

注釈

GetPropertiesForNewContext メソッドは、ContextProperties インターフェイスのIConstructionCallMessage プロパティ リストにコンテキスト プロパティを直接追加できます。 ContextAttribute クラスの既定の実装では、これをコンテキスト プロパティ リストに追加します。 コンテキスト属性は、 GetPropertiesForNewContext を自由にオーバーライドでき、独自の動作を実装できます。 たとえば、コンテキスト プロパティを実装する新しいクラスをリストに追加できます。

適用対象