Share via


UrlAttribute.IsContextOK(Context, IConstructionCallMessage) Yöntem

Tanım

Belirtilenin Context gereksinimlerini karşılayıp karşılamadığını UrlAttributegösteren bir Boole değeri döndürür.

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

Parametreler

ctx
Context

Geçerli bağlam özniteliğine karşı denetlenecek bağlam.

msg
IConstructionCallMessage

Parametreleri geçerli bağlama göre denetlenecek olan yapı çağrısı.

Döndürülenler

true geçirilen bağlam kabul edilebilirse; aksi takdirde , false.

Öznitelikler

Özel durumlar

Hemen çağıranın altyapı izni yok.

Şunlara uygulanır

Ayrıca bkz.