IContextAttribute.IsContextOK(Context, IConstructionCallMessage) Methode

Definitie

Retourneert een Booleaanse waarde die aangeeft of de opgegeven context voldoet aan de vereisten van het contextkenmerk.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

public:
 bool IsContextOK(System::Runtime::Remoting::Contexts::Context ^ ctx, System::Runtime::Remoting::Activation::IConstructionCallMessage ^ msg);
public bool IsContextOK(System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
[System.Security.SecurityCritical]
public bool IsContextOK(System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
abstract member IsContextOK : System.Runtime.Remoting.Contexts.Context * System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
[<System.Security.SecurityCritical>]
abstract member IsContextOK : System.Runtime.Remoting.Contexts.Context * System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
Public Function IsContextOK (ctx As Context, msg As IConstructionCallMessage) As Boolean

Parameters

ctx
Context

De context die moet worden gecontroleerd op basis van het huidige contextkenmerk.

msg
IConstructionCallMessage

De bouwoproep, waarvan parameters moeten worden gecontroleerd op basis van de huidige context.

Retouren

true als de doorgegeven context in orde is; anders, false.

Kenmerken

Van toepassing op