IUnrestrictedPermission Interface

Definição

Cuidado

Code Access Security is not supported or honored by the runtime.

Permite que uma permissão exponha um estado irrestrito.

public interface class IUnrestrictedPermission
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public interface IUnrestrictedPermission
public interface IUnrestrictedPermission
[System.Runtime.InteropServices.ComVisible(true)]
public interface IUnrestrictedPermission
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type IUnrestrictedPermission = interface
type IUnrestrictedPermission = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type IUnrestrictedPermission = interface
Public Interface IUnrestrictedPermission
Derivado
Atributos

Comentários

Cuidado

O CAS (Code Access Security) foi preterido em todas as versões do .NET Framework e do .NET. As versões recentes do .NET não honram as anotações CAS e geram erros se as APIs relacionadas ao CAS forem usadas. Os desenvolvedores devem buscar meios alternativos para realizar tarefas de segurança.

Todas as permissões de acesso ao código devem ser implementadas IUnrestrictedPermission.

Métodos

Nome Description
IsUnrestricted()
Obsoleto.

Retorna um valor que indica se o acesso irrestrito ao recurso protegido pela permissão é permitido.

Aplica-se a