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

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

SecurityException.PermissionType プロパティ

失敗したアクセス許可の型を取得または設定します。

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

Public Property PermissionType As
 Type
Dim instance As SecurityException
Dim value As Type

value = instance.PermissionType

instance.PermissionType = value
public Type PermissionType { get; set;
 }
public:
property Type^ PermissionType {
    Type^ get ();
    void set (Type^ value);
}
/** @property */
public Type get_PermissionType ()

/** @property */
public void set_PermissionType (Type value)
public function get PermissionType
 () : Type

public function set PermissionType
 (value : Type)

プロパティ値
失敗したアクセス許可の型。

使用例使用例

PermissionType プロパティを使用して、失敗したアクセス許可の型を表示する方法を次のコード例に示します。このコード例は、SecurityException クラスのトピックで取り上げているコード例の一部分です。

Display("The permission type is: " & sE.PermissionType.ToString())
Display("The permission type is: " + 
    sE.PermissionType.ToString());
Display("The permission type is: {0}",
    exception->PermissionType);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



SecurityException.PermissionType プロパティのページの著作権

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

©2026 GRAS Group, Inc.RSS