Język

IUnrestrictedPermission Interfejs

Definicja

Uwaga

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

Umożliwia uprawnienie do uwidaczniania nieograniczonego stanu.

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
Pochodne
Atrybuty

Uwagi

Caution

Zabezpieczenia dostępu kodu (CAS) zostały wycofane we wszystkich wersjach programu .NET Framework i .NET. Najnowsze wersje platformy .NET nie honorują adnotacji CAS i generują błędy, jeśli są używane interfejsy API związane z usługą CAS. Deweloperzy powinni szukać alternatywnych sposobów wykonywania zadań zabezpieczeń.

Wszystkie uprawnienia dostępu do kodu powinny implementować IUnrestrictedPermission.

Metody

Nazwa Opis
IsUnrestricted()
Przestarzałe.

Zwraca wartość wskazującą, czy dozwolony jest nieograniczony dostęp do zasobu chronionego przez uprawnienie.

Dotyczy