SecurityManager.CheckExecutionRights プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
この API は非推奨になりました。
注意事項
Because execution permission checks can no longer be turned off, the CheckExecutionRights property no longer has any effect.
コードを実行するために Execution が必要かどうかを示す値を取得または設定します。
public:
static property bool CheckExecutionRights { bool get(); void set(bool value); };
[System.Obsolete]
public static bool CheckExecutionRights { get; set; }
public static bool CheckExecutionRights { get; set; }
[System.Obsolete("Because execution permission checks can no longer be turned off, the CheckExecutionRights property no longer has any effect.")]
public static bool CheckExecutionRights { get; set; }
[<System.Obsolete>]
static member CheckExecutionRights : bool with get, set
static member CheckExecutionRights : bool with get, set
[<System.Obsolete("Because execution permission checks can no longer be turned off, the CheckExecutionRights property no longer has any effect.")>]
static member CheckExecutionRights : bool with get, set
Public Shared Property CheckExecutionRights As Boolean
プロパティ値
コードを実行するために Execution が必要な場合は true
。それ以外の場合は false
。
- 属性
例外
このメソッドを呼び出すコードには ControlPolicy がありません。
注釈
このプロパティが の場合は false
、 を含まない Execution コードでも実行できます。 実行チェックはコストがかかり、遅延ポリシー解決の利点を排除できます。 このプロパティは、必要に応じて実行チェックを無効にするために提供されます。
このプロパティの変更は、 が呼び出されるまで SavePolicy 保持されません。 レジストリに保持されるまで、新しいプロセスは変更の影響を受けなくなります。
適用対象
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示