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.

ReflectionPermission Constructor (ReflectionPermissionFlag)

 

Initializes a new instance of the ReflectionPermission class with the specified access.

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

public:
ReflectionPermission(
	ReflectionPermissionFlag flag
)

Exception Condition
ArgumentException

The flag parameter is not a valid value of ReflectionPermissionFlag.

The following code example shows the use of the ReflectionPermission::ReflectionPermission(ReflectionPermissionFlag) constructor. This example is part of a larger example provided for the ReflectionPermission class.

No code example is currently available or this language may not be supported.

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