ContextAttribute.Name Property

This property supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the name of the context attribute.

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

public virtual string Name { get; }
/** @property */
public String get_Name ()

public function get Name () : String

Property Value

The name of the context attribute.

Default implementation of this property provides AttributeName as the property name.

Notes to Inheritors The current property must not be overridden in any user derived class. The current Equals and GetHashCode method implementations depend on the default functionality. If you wish to provide advanced behavior for a class extending the ContextAttribute and override the Name property, you have to also override the default implementation of the Equals and GetHashCode methods.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0