編集

次の方法で共有


PermissionRequestEvidence(PermissionSet, PermissionSet, PermissionSet) Constructor

Definition

Initializes a new instance of the PermissionRequestEvidence class with the permission request of a code assembly.

public:
 PermissionRequestEvidence(System::Security::PermissionSet ^ request, System::Security::PermissionSet ^ optional, System::Security::PermissionSet ^ denied);
public PermissionRequestEvidence (System.Security.PermissionSet request, System.Security.PermissionSet optional, System.Security.PermissionSet denied);
new System.Security.Policy.PermissionRequestEvidence : System.Security.PermissionSet * System.Security.PermissionSet * System.Security.PermissionSet -> System.Security.Policy.PermissionRequestEvidence
Public Sub New (request As PermissionSet, optional As PermissionSet, denied As PermissionSet)

Parameters

request
PermissionSet

The minimum permissions the code requires to run.

optional
PermissionSet

The permissions the code can use if they are granted, but that are not required.

denied
PermissionSet

The permissions the code explicitly asks not to be granted.

Remarks

The .NET Framework security policy system uses the requested permissions along with a code assembly's Evidence to determine which permissions the code should be granted.

Applies to