Muokkaa

Jaa


IContextAttribute.GetPropertiesForNewContext(IConstructionCallMessage) Method

Definition

Returns context properties to the caller in the given message.

This API supports the product infrastructure and is not intended to be used directly from your code.

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)

Parameters

msg
IConstructionCallMessage

The IConstructionCallMessage to which to add the context properties.

Attributes

Remarks

The GetPropertiesForNewContext method can add context properties directly to the ContextProperties property list in the IConstructionCallMessage interface. The default implementation in the ContextAttribute class will add this to the context property list. Context attributes are free to override GetPropertiesForNewContext and can implement their own behavior. For example, they can add to the list a new class that implements the context property.

Applies to