ContextAttribute.IsContextOK(Context, IConstructionCallMessage) Methode

Definitie

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

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

public:
 virtual bool IsContextOK(System::Runtime::Remoting::Contexts::Context ^ ctx, System::Runtime::Remoting::Activation::IConstructionCallMessage ^ ctorMsg);
public virtual bool IsContextOK(System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);
[System.Security.SecurityCritical]
public virtual bool IsContextOK(System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);
abstract member IsContextOK : System.Runtime.Remoting.Contexts.Context * System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
override this.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
override this.IsContextOK : System.Runtime.Remoting.Contexts.Context * System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
Public Overridable Function IsContextOK (ctx As Context, ctorMsg As IConstructionCallMessage) As Boolean

Parameters

ctx
Context

De context waarin moet worden gecontroleerd.

ctorMsg
IConstructionCallMessage

De IConstructionCallMessage eigenschap waaraan u de contexteigenschap wilt toevoegen.

Retouren

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

Implementeringen

Kenmerken

Uitzonderingen

ctorMsg Of ctx is null.

Van toepassing op