SecurityManager.CheckExecutionRights 속성

정의

주의

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); };
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; }
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

속성 값

실행하려면 코드가 있어야 하면 />이고, 그렇지 않으면 .입니다.

특성

예외

이 메서드 ControlPolicy를 호출하는 코드에는 .

설명

이 속성이 false면 코드 없이 Execution 도 실행할 수 있습니다. 실행 검사는 비용이 많이 들고 지연 정책 해결의 이점을 제거할 수 있습니다. 이 속성은 필요한 경우 실행 검사를 사용하지 않도록 설정하기 위해 제공됩니다.

이 속성의 변경 사항은 SavePolicy이 호출될 때까지 저장되지 않습니다. 새 프로세스는 레지스트리에 유지될 때까지 변경 내용의 영향을 받지 않습니다.

적용 대상