IUnrestrictedPermission Interfaz

Definición

Precaución

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

Permite que un permiso exponga un estado sin restricciones.

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

Comentarios

Caution

La seguridad de acceso al código (CAS) está en desuso en todas las versiones de .NET Framework y .NET. Las versiones recientes de .NET no respetan las anotaciones de CAS y producen errores si se utilizan las API relacionadas con CAS. Los desarrolladores deben buscar medios alternativos para realizar tareas de seguridad.

Todos los permisos de acceso de código deben implementar IUnrestrictedPermission.

Métodos

Nombre Description
IsUnrestricted()
Obsoletos.

Devuelve un valor que indica si se permite el acceso sin restricciones al recurso protegido por el permiso.

Se aplica a