This documentation is archived and is not being maintained.

EnvironmentPermission Constructor

Initializes a new instance of the EnvironmentPermission class.

Name Description
EnvironmentPermission (PermissionState) Initializes a new instance of the EnvironmentPermission class with either restricted or unrestricted permission as specified.
EnvironmentPermission (EnvironmentPermissionAccess, String) Initializes a new instance of the EnvironmentPermission class with the specified access to the specified environment variables.
Show: