IContextAttribute::GetPropertiesForNewContext Method (IConstructionCallMessage^)

 

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

Returns context properties to the caller in the given message.

Namespace:   System.Runtime.Remoting.Contexts
Assembly:  mscorlib (in mscorlib.dll)

[SecurityCriticalAttribute]
void GetPropertiesForNewContext(
	IConstructionCallMessage^ msg
)

Parameters

msg
Type: System.Runtime.Remoting.Activation::IConstructionCallMessage^

The IConstructionCallMessage to which to add the context properties.

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.

.NET Framework
Available since 1.1
Return to top
Show: