UrlAttribute.IsContextOK(Context, IConstructionCallMessage) Metódus

Definíció

Logikai értéket ad vissza, amely jelzi, hogy a megadott Context megfelel-e UrlAttributea követelményeknek.

public:
 override bool IsContextOK(System::Runtime::Remoting::Contexts::Context ^ ctx, System::Runtime::Remoting::Activation::IConstructionCallMessage ^ msg);
public override bool IsContextOK(System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
[System.Runtime.InteropServices.ComVisible(true)]
public override bool IsContextOK(System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public override bool IsContextOK(System.Runtime.Remoting.Contexts.Context ctx, System.Runtime.Remoting.Activation.IConstructionCallMessage msg);
override this.IsContextOK : System.Runtime.Remoting.Contexts.Context * System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
[<System.Runtime.InteropServices.ComVisible(true)>]
override this.IsContextOK : System.Runtime.Remoting.Contexts.Context * System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
override this.IsContextOK : System.Runtime.Remoting.Contexts.Context * System.Runtime.Remoting.Activation.IConstructionCallMessage -> bool
Public Overrides Function IsContextOK (ctx As Context, msg As IConstructionCallMessage) As Boolean

Paraméterek

ctx
Context

Az aktuális környezeti attribútumot ellenőrizni kívánt környezet.

msg
IConstructionCallMessage

Az építési felhívást, amelynek paramétereit ellenőrizni kell az aktuális környezetben.

Válaszok

trueha az átadott környezet elfogadható; egyéb esetben. false

Attribútumok

Kivételek

Az azonnali hívó nem rendelkezik infrastruktúra-engedéllyel.

A következőre érvényes:

Lásd még