Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SecurityPermissionAttribute::Execution Property

 

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

Namespace:   System.Security.Permissions
Assembly:  mscorlib (in mscorlib.dll)

public:
property bool Execution {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if permission to execute code is declared; otherwise, false.

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft