Language

ContextAttribute.IsContextOK(Context, IConstructionCallMessage) メソッド

定義

コンテキスト パラメーターがコンテキスト属性の要件を満たしているかどうかを示すブール値を返します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

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

パラメーター

ctx
Context

確認するコンテキスト。

ctorMsg
IConstructionCallMessage

コンテキスト プロパティを追加する IConstructionCallMessage 。

返品

true 渡されたコンテキストが問題ない場合。それ以外の場合は false。

実装

属性

例外

ctxまたはctorMsgがnull。

適用対象