System.Runtime.Remoting.Contexts.ContextAttribute Members

The members of System.Runtime.Remoting.Contexts.ContextAttribute are listed below.

See Also: Inherited members from System.Attribute

Public Constructors

Creates an instance of the System.Runtime.Remoting.Contexts.ContextAttribute class with the specified name.

Protected Fields

AttributeNamestring.

Indicates the name of the context attribute.

Public Properties

[read-only]
Namestring.

Gets the name of the context attribute.

Public Methods

override
Equals(object) : bool

Returns a Boolean value indicating whether this instance is equal to the specified object.

Freeze(Context)

Called when the context is frozen.

override
GetHashCode() : int

Returns the hashcode for this instance of System.Runtime.Remoting.Contexts.ContextAttribute.

GetPropertiesForNewContext(System.Runtime.Remoting.Activation.IConstructionCallMessage)

Adds the current context property to the given message.

IsContextOK(Context, System.Runtime.Remoting.Activation.IConstructionCallMessage) : bool

Returns a Boolean value indicating whether the context parameter meets the context attribute's requirements.

IsNewContextOK(Context) : bool

Returns a Boolean value indicating whether the context property is compatible with the new context.