PolicyLevel.FullTrustAssemblies 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.
注意
现已弃用此 API。
获取 StrongNameMembershipCondition 对象列表,这些对象用于确定程序集是否为用于评估安全策略的程序集组的成员。
public:
property System::Collections::IList ^ FullTrustAssemblies { System::Collections::IList ^ get(); };
[System.Obsolete("Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.")]
public System.Collections.IList FullTrustAssemblies { get; }
public System.Collections.IList FullTrustAssemblies { get; }
[System.Obsolete]
public System.Collections.IList FullTrustAssemblies { get; }
[<System.Obsolete("Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.")>]
member this.FullTrustAssemblies : System.Collections.IList
member this.FullTrustAssemblies : System.Collections.IList
[<System.Obsolete>]
member this.FullTrustAssemblies : System.Collections.IList
Public ReadOnly Property FullTrustAssemblies As IList
属性值
StrongNameMembershipCondition 对象列表,这些对象用于确定程序集是否为用于评估安全策略的程序集组的成员。 在对列表中没有的程序集进行安全策略评估的过程中,这些程序集被授予完全信任。
- 属性
注解
FullTrustAssemblies 在对不在列表中的程序集进行安全策略评估期间授予完全信任,但在由安全策略系统直接评估时,不会自动授予完全信任。
.NET Framework FullTrustAssemblies 2.0 版或更高版本不支持 属性,因为这些版本中未使用完全信任程序集的列表。