IContextProperty Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Gathers naming information from the context property and determines whether the new context is ok for the context property.

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

[ComVisibleAttribute(true)]
public interface IContextProperty

NameDescription
System_CAPS_pubpropertyName

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the name of the property under which it will be added to the context.

NameDescription
System_CAPS_pubmethodFreeze(Context)

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

System_CAPS_pubmethodIsNewContextOK(Context)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a Boolean value indicating whether the context property is compatible with the new context.

The IContextProperty interface is exposed by the property contributed to a context by an attribute. By default, it is also implemented by the ContextAttribute base class, from which Context attribute classes can extend.

.NET Framework
Available since 1.1
Return to top
Show: