IUnrestrictedPermission Gränssnitt

Definition

Varning

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

Tillåter en behörighet att exponera ett obegränsat tillstånd.

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
Härledda
Attribut

Kommentarer

Caution

Code Access Security (CAS) har föråldrats i alla versioner av .NET Framework och .NET. De senaste versionerna av .NET följer inte CAS-anteckningar och skapar fel om CAS-relaterade API:er används. Utvecklare bör söka alternativa sätt att utföra säkerhetsuppgifter.

Alla behörigheter för kodåtkomst bör implementera IUnrestrictedPermission.

Metoder

Name Description
IsUnrestricted()
Föråldrad.

Returnerar ett värde som anger om obegränsad åtkomst till resursen som skyddas av behörigheten tillåts.

Gäller för