AssemblyNameFlags 枚举

定义

提供有关 Assembly 引用的信息。Provides information about an Assembly reference.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class AssemblyNameFlags
[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum AssemblyNameFlags
type AssemblyNameFlags = 
Public Enum AssemblyNameFlags
继承
AssemblyNameFlags
属性

字段

EnableJITcompileOptimizer 16384

指定已经为程序集禁用实时 (JIT) 编译器优化。Specifies that just-in-time (JIT) compiler optimization is disabled for the assembly. 这与成员名称暗示的含义正好相反。This is the exact opposite of the meaning that is suggested by the member name.

EnableJITcompileTracking 32768

指定已经为程序集启用实时 (JIT) 编译器跟踪。Specifies that just-in-time (JIT) compiler tracking is enabled for the assembly.

None 0

指定没有有效标志。Specifies that no flags are in effect.

PublicKey 1

指定公钥基于完整公钥而不是公钥标记构成。Specifies that a public key is formed from the full public key rather than the public key token.

Retargetable 256

指定可以在运行时将程序集重定向到来自其他发行者的程序集。Specifies that the assembly can be retargeted at runtime to an assembly from a different publisher. 此值支持 .NET Framework 基础结构,但不适合在代码中直接使用。This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.

适用于