System.Security.Permissions.SecurityPermissionAttribute.Execution Property

Gets or sets a value indicating whether permission to execute code is declared.

Syntax

public bool Execution { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

A demand for SecurityPermissionFlag.Execution permission at the assembly level is ignored. If an assembly has the right to execute, SecurityPermissionFlag.Execution permission is automatically granted, and setting the SecurityPermissionAttribute.Execution property to either true or false has no effect.

Requirements

Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0