Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
Specifies the security actions that can be performed using declarative security.
Syntax
typedef enum CorDeclSecurity {
dclActionMask = 0x001f,
dclActionNil = 0x0000,
dclRequest = 0x0001,
dclDemand = 0x0002,
dclAssert = 0x0003,
dclDeny = 0x0004,
dclPermitOnly = 0x0005,
dclLinktimeCheck = 0x0006,
dclInheritanceCheck = 0x0007,
dclRequestMinimum = 0x0008,
dclRequestOptional = 0x0009,
dclRequestRefuse = 0x000a,
dclPrejitGrant = 0x000b,
dclPrejitDenied = 0x000c,
dclNonCasDemand = 0x000d,
dclNonCasLinkDemand = 0x000e,
dclNonCasInheritance = 0x000f,
dclLinkDemandChoice = 0x0010,
dclInheritanceDemandChoice = 0x0011,
dclDemandChoice = 0x0012,
dclMaximumValue = 0x0012
} CorDeclSecurity;
Members
| Member | Description |
|---|---|
dclActionMask |
Reserved. |
dclActionNil |
Reserved. |
dclRequest |
Reserved. |
dclDemand |
All callers higher in the call stack are required to have been granted the permission specified by the current permission object. |
dclAssert |
The calling code can access the resource identified by the current permission object, even if callers higher in the stack have not been granted permission to access the resource |
dclDeny |
The ability to access the resource specified by the current permission object is denied to callers, even if they have been granted permission to access it. |
dclPermitOnly |
Only the resources specified by this permission object can be accessed, even if the code has been granted permission to access other resources. |
dclLinktimeCheck |
The immediate caller is required to have been granted the specified permission for a given period of time. |
dclInheritanceCheck |
The derived class inheriting another class or overriding a method is required to have been granted the specified permission. |
dclRequestMinimum |
The caller can request for the minimum permissions required for code to run. This action can only be used within the scope of the assembly. |
dclRequestOptional |
The caller can request for additional permissions that are optional (not required to run). This request implicitly refuses all other permissions not specifically requested. This action can only be used within the scope of the assembly. |
dclRequestRefuse |
The caller's request for permissions that might be misused will not be granted. This action can only be used within the scope of the assembly. |
dclPrejitGrant |
Reserved. |
dclPrejitDenied |
Reserved. |
dclNonCasDemand |
Reserved. |
dclNonCasLinkDemand |
The immediate caller is required to have been granted the specified permission. |
dclNonCasInheritance |
Reserved. |
dclLinkDemandChoice |
Reserved. |
dclInheritanceDemandChoice |
Reserved. |
dclDemandChoice |
Reserved. |
dclMaximumValue |
Reserved. |
Requirements
Platforms: See .NET supported operating systems.
Header: CorHdr.h
Schafft mat eis op GitHub zesummen
D'Quell fir dësen Inhalt kann op GitHub fonnt ginn, wou Dir och Theeme schafen an iwwerpréiwen kënnt an Ufroen unhuele kënnt. Fir méi Informatiounen, gitt op eisen Auteur-Guide.