ContextAttribute::IsContextOK Method (Context^, IConstructionCallMessage^)
.NET Framework (current version)
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 parameter meets the context attribute's requirements.
Assembly: mscorlib (in mscorlib.dll)
public: [SecurityCriticalAttribute] virtual bool IsContextOK( Context^ ctx, IConstructionCallMessage^ ctorMsg )
Parameters
- ctx
-
Type:
System.Runtime.Remoting.Contexts::Context^
The context in which to check.
- ctorMsg
-
Type:
System.Runtime.Remoting.Activation::IConstructionCallMessage^
The IConstructionCallMessage to which to add the context property.
| Exception | Condition |
|---|---|
| ArgumentNullException | Either ctx or ctorMsg is null. |
.NET Framework
Available since 1.1
Available since 1.1
Show: