HostProtectionException.DemandedResources プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > HostProtectionException.DemandedResources プロパティの意味・解説 

HostProtectionException.DemandedResources プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

例外スローされる原因となった要求されホスト保護リソース取得または設定します

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

Public ReadOnly Property
 DemandedResources As HostProtectionResource
Dim instance As HostProtectionException
Dim value As HostProtectionResource

value = instance.DemandedResources
public HostProtectionResource DemandedResources { get;
 }
public:
property HostProtectionResource DemandedResources {
    HostProtectionResource get ();
}
/** @property */
public HostProtectionResource get_DemandedResources ()
public function get DemandedResources
 () : HostProtectionResource

プロパティ
例外スローされる原因となった保護リソース識別する、HostProtectionResource 値のビットごとの組み合わせ既定値は HostProtectionResource.None です。

解説解説

このパラメータは、例外スローされる原因となった要求されホスト保護カテゴリ返します。たとえば、メソッド共有状態を公開していることを示す HostProtectionAttribute 属性メソッド含まれているとします。このメソッド呼び出すと、共有状態に対するリンク確認要求HostProtectionAttribute によって実行されます。ホスト共有状態が禁止カテゴリ設定されている場合には、HostProtectionException が発生しDemandedResources プロパティの値が HostProtectionResource.SharedState になります

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


このページでは「.NET Framework クラス ライブラリ リファレンス」からHostProtectionException.DemandedResources プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からHostProtectionException.DemandedResources プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からHostProtectionException.DemandedResources プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

HostProtectionException.DemandedResources プロパティのお隣キーワード
検索ランキング

   

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



HostProtectionException.DemandedResources プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS