System.Runtime.Remoting.Contexts.ContextAttribute Class

Provides the default implementations of the System.Runtime.Remoting.Contexts.IContextAttribute and System.Runtime.Remoting.Contexts.IContextProperty interfaces.

See Also: ContextAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Class)]
[System.Runtime.InteropServices.ComVisible(true)]
public class ContextAttribute : Attribute, IContextAttribute, IContextProperty

Remarks

The System.Runtime.Remoting.Contexts.ContextAttribute class is the root for all context attributes. Simple System.Runtime.Remoting.Contexts.Context class properties can be derived from System.Runtime.Remoting.Contexts.ContextAttribute with the context attribute and the context property being in the class. For more specialized or more sophisticated needs, the context attribute can derive from System.Runtime.Remoting.Contexts.ContextAttribute and the context property can be split into a separated class. For more information about using attributes, see [<topic://cpconExtendingMetadataUsingAttributes>].

Requirements

Namespace: System.Runtime.Remoting.Contexts
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0