System.Runtime.Remoting.Contexts.ContextAttribute.IsContextOK Method

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

Syntax

public virtual bool IsContextOK (Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg)

Parameters

ctx
The context in which to check.
ctorMsg
The System.Runtime.Remoting.Activation.IConstructionCallMessage to which to add the context property.

Returns

true if the passed in context is okay; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

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