EnvironmentPermission Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the EnvironmentPermission class.

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

NameDescription
System_CAPS_pubmethodEnvironmentPermission(EnvironmentPermissionAccess, String)

Initializes a new instance of the EnvironmentPermission class with the specified access to the specified environment variables.

System_CAPS_pubmethodEnvironmentPermission(PermissionState)

Initializes a new instance of the EnvironmentPermission class with either restricted or unrestricted permission as specified.

Return to top
Show: