Security transparent code should not reference non-public security critical members
安全透明代码不应引用非公共的安全关键成员
Security transparent code should not assert
安全透明代码不应断言
Security transparent code should not be responsible for verifying the security of an operation, and therefore should not demand permissions. Any code which is performing security checks, such as security demands, should be safe-critical instead.
Satisfying a LinkDemand is a security sensitive operation which can cause unintentional elevation of privilege. Security transparent code must not satisfy LinkDemands, since it is not subject to the same security audit requirements as security critical code. Transparent methods is security rule set level 1 assemblies will cause all LinkDemands they satisfy to be converted to full demands at runtime, which can cause performance problems. In security rule set level 2 assemblies, transparent methods will fail to JIT if they attempt to satisfy a LinkDemand.
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.