Mono Class Library: System.Security.Permissions.SecurityPermission Overview | Members

System.Security.Permissions.SecurityPermission Constructor

Constructs a new instance of the System.Security.Permissions.SecurityPermission class with the specified System.Security.Permissions.PermissionState value.

public SecurityPermission (PermissionState state)

Parameters

state
A System.Security.Permissions.PermissionState value. This value is either PermissionState.None or PermissionState.Unrestricted, respectively yielding fully restricted or fully unrestricted access to all security variables.

Exceptions

TypeReason
ArgumentExceptionstate is not a valid System.Security.Permissions.PermissionState value.

Remarks

Documentation for this section has not yet been entered.

Requirements

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