Share via


SecurityPermissionAttribute.Execution 속성

정의

코드를 실행할 권한이 선언되었는지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool Execution { bool get(); void set(bool value); };
public bool Execution { get; set; }
member this.Execution : bool with get, set
Public Property Execution As Boolean

속성 값

코드를 실행할 권한이 선언되면true 이고, 선언되지 않으면 false입니다.

설명

어셈블리 수준에서 권한에 대한 Execution 요구는 무시됩니다. 어셈블리에 실행할 Execution 권한이 있으면 권한이 자동으로 부여되고 속성을 또는 truefalse 로 설정 Execution 해도 아무런 효과가 없습니다.

적용 대상