SecurityCriticalScope Enumeração

Definição

Cuidado

SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.

Especifica o escopo de um SecurityCriticalAttribute.Specifies the scope of a SecurityCriticalAttribute.

public enum class SecurityCriticalScope
[System.Obsolete("SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.")]
public enum SecurityCriticalScope
public enum SecurityCriticalScope
[<System.Obsolete("SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.")>]
type SecurityCriticalScope = 
type SecurityCriticalScope = 
Public Enum SecurityCriticalScope
Herança
SecurityCriticalScope
Atributos

Campos

Everything 1

O atributo se aplica a todo o código que o segue.The attribute applies to all code that follows it.

Explicit 0

O atributo se aplica somente ao destino imediato.The attribute applies only to the immediate target.

Comentários

O código de segurança crítica é qualquer código que protege recursos confidenciais e expõe o acesso orientado ao recurso a código não confiável ou parcialmente confiáveis, executando as operações de elevação de privilégio necessárias.Security-critical code is any code that protects sensitive resources and exposes brokered access to the resource to untrusted or partially trusted code by performing the necessary elevation of privilege operations.

Aplica-se a