SecurityManager.CheckExecutionRights Özellik

Tanım

Dikkat

Bu API artık kullanım dışıdır.

Dikkat

Because execution permission checks can no longer be turned off, the CheckExecutionRights property no longer has any effect.

Yürütülebilmesi için kodun olması Execution gerekip gerekmediğini belirten bir değer alır veya ayarlar.

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

Özellik Değeri

true kodun yürütülebilmesi için olması Execution gerekiyorsa; değilse, false.

Öznitelikler

Özel durumlar

Bu yöntemi çağıran kodda yok ControlPolicy.

Açıklamalar

Bu özellik ise false, olmadan Execution bile kod yürütülebilir. Yürütme denetimi pahalıdır ve gecikmeli ilke çözümünün avantajlarını ortadan kaldırabilir. Gerektiğinde yürütme denetimini devre dışı bırakmak için bu özellik sağlanır.

Bu özellikte yapılan bir değişiklik çağrılana kadar SavePolicy kalıcı olmaz. Kayıt defterinde kalıcı hale gelene kadar yeni işlemler değişiklikten etkilenmez.

Şunlara uygulanır