GacInstalled Sınıf

Tanım

Dikkat

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

İlke değerlendirmesi için bir kod derlemesinin genel derleme önbelleğinden (GAC) kaynaklandığını onaylar. Bu sınıf devralınamaz.

public ref class GacInstalled sealed : System::Security::Policy::EvidenceBase, System::Security::Policy::IIdentityPermissionFactory
public ref class GacInstalled sealed : System::Security::Policy::IIdentityPermissionFactory
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public sealed class GacInstalled : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public sealed class GacInstalled : System.Security.Policy.IIdentityPermissionFactory
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public sealed class GacInstalled : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
public sealed class GacInstalled : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type GacInstalled = class
    inherit EvidenceBase
    interface IIdentityPermissionFactory
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type GacInstalled = class
    interface IIdentityPermissionFactory
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type GacInstalled = class
    inherit EvidenceBase
    interface IIdentityPermissionFactory
type GacInstalled = class
    inherit EvidenceBase
    interface IIdentityPermissionFactory
Public NotInheritable Class GacInstalled
Inherits EvidenceBase
Implements IIdentityPermissionFactory
Public NotInheritable Class GacInstalled
Implements IIdentityPermissionFactory
Devralma
GacInstalled
Devralma
GacInstalled
Öznitelikler
Uygulamalar

Açıklamalar

Caution

Kod Erişim Güvenliği (CAS), .NET Framework ve .NET'in tüm sürümlerinde kullanım dışı bırakılmıştır. .NET'in son sürümleri CAS ek açıklamalarını dikkate almaz ve CAS ile ilgili API'ler kullanılırsa hata üretir. Geliştiriciler, güvenlik görevlerini yerine getirmek için alternatif yöntemler aramalıdır.

Kanıtın GacInstalled varlığı, izin kümesinde bir GacIdentityPermission oluşturur. için DemandGacIdentityPermission bir GacIdentityPermission varsa, kanıta GacInstalled karşılık gelen, istenen izinle karşılaştırılır.

Oluşturucular

Name Description
GacInstalled()
Geçersiz.

GacInstalled sınıfının yeni bir örneğini başlatır.

Yöntemler

Name Description
Clone()
Geçersiz.

Geçerli örneğin kopyası olan yeni bir nesne oluşturur.

Clone()
Geçersiz.

Geçerli örneğin tam kopyası olan yeni bir nesne oluşturur.

(Devralındığı yer: EvidenceBase)
Copy()
Geçersiz.

Geçerli nesnenin eşdeğer bir kopyasını oluşturur.

CreateIdentityPermission(Evidence)
Geçersiz.

Geçerli nesneye karşılık gelen yeni bir kimlik izni oluşturur.

Equals(Object)
Geçersiz.

Geçerli nesnenin belirtilen nesneye eşdeğer olup olmadığını gösterir.

GetHashCode()
Geçersiz.

Geçerli nesne için bir karma kodu döndürür.

GetType()
Geçersiz.

Geçerli örneğin Type alır.

(Devralındığı yer: Object)
MemberwiseClone()
Geçersiz.

Geçerli Objectbasit bir kopyasını oluşturur.

(Devralındığı yer: Object)
ToString()
Geçersiz.

Geçerli nesnenin dize gösterimini döndürür.

Şunlara uygulanır