Aracılığıyla paylaş


ContextAttribute.IsContextOK(Context, IConstructionCallMessage) Yöntem

Tanım

Bağlam parametresinin bağlam özniteliğinin gereksinimlerini karşılayıp karşılamadığını gösteren bir Boole değeri döndürür.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

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

Parametreler

ctx
Context

Denetlenecek bağlam.

ctorMsg
IConstructionCallMessage

IConstructionCallMessageBağlam özelliğinin ekleneceği yer.

Döndürülenler

Boolean

true geçirilen bağlam tamam ise; Aksi takdirde, false .

Uygulamalar

Öznitelikler

Özel durumlar

ctxYa da ctorMsg null .

Şunlara uygulanır