ContextAttribute.IsContextOK(Context, IConstructionCallMessage) Yöntem

Tanım

Bağlam parametresinin bağlam özniteliğinin gereksinimlerini karşılayıp karşılamadığını belirten 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

IConstructionCallMessage Bağlam özelliğinin ekleneceği yer.

Döndürülenler

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

Uygulamalar

Öznitelikler

Özel durumlar

veya ctxctorMsg şeklindedir null.

Şunlara uygulanır