ContextAttribute.IsContextOK メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ContextAttribute.IsContextOK メソッドの意味・解説 

ContextAttribute.IsContextOK メソッド

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

名前空間: System.Runtime.Remoting.Contexts
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Overridable Function
 IsContextOK ( _
    ctx As Context, _
    ctorMsg As IConstructionCallMessage _
) As Boolean
Dim instance As ContextAttribute
Dim ctx As Context
Dim ctorMsg As IConstructionCallMessage
Dim returnValue As Boolean

returnValue = instance.IsContextOK(ctx, ctorMsg)
public virtual bool IsContextOK (
    Context ctx,
    IConstructionCallMessage ctorMsg
)
public:
virtual bool IsContextOK (
    Context^ ctx, 
    IConstructionCallMessage^ ctorMsg
)
public boolean IsContextOK (
    Context ctx, 
    IConstructionCallMessage ctorMsg
)
public function IsContextOK (
    ctx : Context, 
    ctorMsg : IConstructionCallMessage
) : boolean

パラメータ

ctx

確認対象のコンテキスト。

ctorMsg

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

戻り値
渡されたコンテキストが要件を満たしている場合は true。それ以外の場合は false。

例外例外
例外の種類条件

ArgumentNullException

ctx または ctorMsg が null 参照 (Visual Basic では Nothing) です。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ContextAttribute クラス
ContextAttribute メンバ
System.Runtime.Remoting.Contexts 名前空間



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

ContextAttribute.IsContextOK メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ContextAttribute.IsContextOK メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS