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

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

SynchronizationAttribute.IsContextOK メソッド

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

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

<ComVisibleAttribute(True)> _
Public Overrides Function
 IsContextOK ( _
    ctx As Context, _
    msg As IConstructionCallMessage _
) As Boolean
Dim instance As SynchronizationAttribute
Dim ctx As Context
Dim msg As IConstructionCallMessage
Dim returnValue As Boolean

returnValue = instance.IsContextOK(ctx, msg)
[ComVisibleAttribute(true)] 
public override bool IsContextOK (
    Context ctx,
    IConstructionCallMessage msg
)
[ComVisibleAttribute(true)] 
public:
virtual bool IsContextOK (
    Context^ ctx, 
    IConstructionCallMessage^ msg
) override
/** @attribute ComVisibleAttribute(true) */ 
public boolean IsContextOK (
    Context ctx, 
    IConstructionCallMessage msg
)
ComVisibleAttribute(true) 
public override function IsContextOK (
    ctx : Context, 
    msg : IConstructionCallMessage
) : boolean

パラメータ

ctx

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

msg

この属性でマークされたコンテキスト バインド オブジェクトの構築時に収集された情報。SynchronizationAttribute は、コンテキストに対してプロパティの検査、追加、および削除を実行でき、同時にコンテキストがそのプロパティを受け入れることができるかどうかも確認します。

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

例外例外
例外の種類条件

ArgumentNullException

ctx パラメータまたは msg パラメータが null 参照 (Visual Basic では Nothing) です。

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



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2026 GRAS Group, Inc.RSS