UrlAttribute.IsContextOK(Context, IConstructionCallMessage) Methode

Definitie

Retourneert een Booleaanse waarde die aangeeft of de opgegeven Context voldoet aan UrlAttributede vereisten.

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

Parameters

ctx
Context

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

msg
IConstructionCallMessage

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

Retouren

true indien de doorgegeven context aanvaardbaar is; anders, false.

Kenmerken

Uitzonderingen

De directe beller heeft geen infrastructuurmachtiging.

Van toepassing op

Zie ook