SecurityManager.CheckExecutionRights 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
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이 호출될 때까지 저장되지 않습니다. 새 프로세스는 레지스트리에 유지될 때까지 변경 내용의 영향을 받지 않습니다.