英語で読む

次の方法で共有


AssemblyBuilderAccess 列挙型

定義

動的アセンブリのアクセス モードを定義します。

この列挙体は、メンバー値のビットごとの組み合わせをサポートしています。

C#
[System.Flags]
public enum AssemblyBuilderAccess
C#
[System.Flags]
[System.Serializable]
public enum AssemblyBuilderAccess
C#
[System.Flags]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum AssemblyBuilderAccess
継承
AssemblyBuilderAccess
属性

フィールド

名前 説明
ReflectionOnly 6

動的アセンブリはリフレクションのみのコンテキストに読み込まれ、実行できません。

Run 1

動的アセンブリは実行できますが、保存できません。

RunAndCollect 9

アクセスできなくなったとき、動的アセンブリは自動的にアンロードされ、そのメモリは解放されます。

RunAndSave 3

動的アセンブリは実行および保存できます。

Save 2

動的アセンブリは保存できますが、実行できません。

適用対象

製品 バージョン
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1