IContextAttribute::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 specified context meets the context attribute's requirements.
Assembly: mscorlib (in mscorlib.dll)
[SecurityCriticalAttribute]
bool IsContextOK(
Context^ ctx,
IConstructionCallMessage^ msg
)
Parameters
- ctx
-
Type:
System.Runtime.Remoting.Contexts::Context^
The context to check against the current context attribute.
- msg
-
Type:
System.Runtime.Remoting.Activation::IConstructionCallMessage^
The construction call, parameters of which need to be checked against the current context.
.NET Framework
Available since 1.1
Available since 1.1
Show: