_AppDomain.DefineDynamicAssembly 方法

定义

为 COM 对象提供对 DefineDynamicAssembly 方法的与版本无关的访问。Provides COM objects with version-independent access to the DefineDynamicAssembly method.

重载

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean)

public:
 System::Reflection::Emit::AssemblyBuilder ^ DefineDynamicAssembly(System::Reflection::AssemblyName ^ name, System::Reflection::Emit::AssemblyBuilderAccess access, System::String ^ dir, System::Security::Policy::Evidence ^ evidence, System::Security::PermissionSet ^ requiredPermissions, System::Security::PermissionSet ^ optionalPermissions, System::Security::PermissionSet ^ refusedPermissions, bool isSynchronized);
public System.Reflection.Emit.AssemblyBuilder DefineDynamicAssembly (System.Reflection.AssemblyName name, System.Reflection.Emit.AssemblyBuilderAccess access, string dir, System.Security.Policy.Evidence evidence, System.Security.PermissionSet requiredPermissions, System.Security.PermissionSet optionalPermissions, System.Security.PermissionSet refusedPermissions, bool isSynchronized);
abstract member DefineDynamicAssembly : System.Reflection.AssemblyName * System.Reflection.Emit.AssemblyBuilderAccess * string * System.Security.Policy.Evidence * System.Security.PermissionSet * System.Security.PermissionSet * System.Security.PermissionSet * bool -> System.Reflection.Emit.AssemblyBuilder

参数

name
AssemblyName

动态程序集的唯一标识。The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

访问动态程序集所采用的模式。The mode in which the dynamic assembly will be accessed.

dir
String

保存动态程序集的目录的名称。The name of the directory where the dynamic assembly will be saved. 如果 dirnull,目录将默认为当前目录。If dir is null, the directory defaults to the current directory.

evidence
Evidence

为动态程序集提供的证据。The evidence supplied for the dynamic assembly. 该证据始终作为最后一组用于策略解析的证据来使用。The evidence is used unaltered as the final set of evidence used for policy resolution.

requiredPermissions
PermissionSet

必需的权限请求。The required permissions request.

optionalPermissions
PermissionSet

可选的权限请求。The optional permissions request.

refusedPermissions
PermissionSet

被拒绝的权限请求。The refused permissions request.

isSynchronized
Boolean

若要在动态程序集中同步模块、类型和成员的创建,则为 true;否则为 falsetrue to synchronize the creation of modules, types, and members in the dynamic assembly; otherwise, false.

返回

表示创建的动态程序集。Represents the dynamic assembly created.

注解

请参阅AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean)方法重载。See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet)

public:
 System::Reflection::Emit::AssemblyBuilder ^ DefineDynamicAssembly(System::Reflection::AssemblyName ^ name, System::Reflection::Emit::AssemblyBuilderAccess access, System::String ^ dir, System::Security::Policy::Evidence ^ evidence, System::Security::PermissionSet ^ requiredPermissions, System::Security::PermissionSet ^ optionalPermissions, System::Security::PermissionSet ^ refusedPermissions);
public System.Reflection.Emit.AssemblyBuilder DefineDynamicAssembly (System.Reflection.AssemblyName name, System.Reflection.Emit.AssemblyBuilderAccess access, string dir, System.Security.Policy.Evidence evidence, System.Security.PermissionSet requiredPermissions, System.Security.PermissionSet optionalPermissions, System.Security.PermissionSet refusedPermissions);
abstract member DefineDynamicAssembly : System.Reflection.AssemblyName * System.Reflection.Emit.AssemblyBuilderAccess * string * System.Security.Policy.Evidence * System.Security.PermissionSet * System.Security.PermissionSet * System.Security.PermissionSet -> System.Reflection.Emit.AssemblyBuilder

参数

name
AssemblyName

动态程序集的唯一标识。The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

访问动态程序集所采用的模式。The mode in which the dynamic assembly will be accessed.

dir
String

保存程序集的目录的名称。The name of the directory where the assembly will be saved. 如果 dirnull,目录将默认为当前目录。If dir is null, the directory defaults to the current directory.

evidence
Evidence

为动态程序集提供的证据。The evidence supplied for the dynamic assembly. 该证据始终作为最后一组用于策略解析的证据来使用。The evidence is used unaltered as the final set of evidence used for policy resolution.

requiredPermissions
PermissionSet

必需的权限请求。The required permissions request.

optionalPermissions
PermissionSet

可选的权限请求。The optional permissions request.

refusedPermissions
PermissionSet

被拒绝的权限请求。The refused permissions request.

返回

表示创建的动态程序集。Represents the dynamic assembly created.

注解

请参阅AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet)方法重载。See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet) method overload.

public:
 System::Reflection::Emit::AssemblyBuilder ^ DefineDynamicAssembly(System::Reflection::AssemblyName ^ name, System::Reflection::Emit::AssemblyBuilderAccess access, System::String ^ dir, System::Security::PermissionSet ^ requiredPermissions, System::Security::PermissionSet ^ optionalPermissions, System::Security::PermissionSet ^ refusedPermissions);
public System.Reflection.Emit.AssemblyBuilder DefineDynamicAssembly (System.Reflection.AssemblyName name, System.Reflection.Emit.AssemblyBuilderAccess access, string dir, System.Security.PermissionSet requiredPermissions, System.Security.PermissionSet optionalPermissions, System.Security.PermissionSet refusedPermissions);
abstract member DefineDynamicAssembly : System.Reflection.AssemblyName * System.Reflection.Emit.AssemblyBuilderAccess * string * System.Security.PermissionSet * System.Security.PermissionSet * System.Security.PermissionSet -> System.Reflection.Emit.AssemblyBuilder
Public Function DefineDynamicAssembly (name As AssemblyName, access As AssemblyBuilderAccess, dir As String, requiredPermissions As PermissionSet, optionalPermissions As PermissionSet, refusedPermissions As PermissionSet) As AssemblyBuilder

参数

name
AssemblyName

动态程序集的唯一标识。The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

访问动态程序集所采用的模式。The mode in which the dynamic assembly will be accessed.

dir
String

保存程序集的目录的名称。The name of the directory where the assembly will be saved. 如果 dirnull,目录将默认为当前目录。If dir is null, the directory defaults to the current directory.

requiredPermissions
PermissionSet

必需的权限请求。The required permissions request.

optionalPermissions
PermissionSet

可选的权限请求。The optional permissions request.

refusedPermissions
PermissionSet

被拒绝的权限请求。The refused permissions request.

返回

表示创建的动态程序集。Represents the dynamic assembly created.

注解

请参阅AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet)方法重载。See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet) method overload.

public:
 System::Reflection::Emit::AssemblyBuilder ^ DefineDynamicAssembly(System::Reflection::AssemblyName ^ name, System::Reflection::Emit::AssemblyBuilderAccess access, System::Security::Policy::Evidence ^ evidence, System::Security::PermissionSet ^ requiredPermissions, System::Security::PermissionSet ^ optionalPermissions, System::Security::PermissionSet ^ refusedPermissions);
public System.Reflection.Emit.AssemblyBuilder DefineDynamicAssembly (System.Reflection.AssemblyName name, System.Reflection.Emit.AssemblyBuilderAccess access, System.Security.Policy.Evidence evidence, System.Security.PermissionSet requiredPermissions, System.Security.PermissionSet optionalPermissions, System.Security.PermissionSet refusedPermissions);
abstract member DefineDynamicAssembly : System.Reflection.AssemblyName * System.Reflection.Emit.AssemblyBuilderAccess * System.Security.Policy.Evidence * System.Security.PermissionSet * System.Security.PermissionSet * System.Security.PermissionSet -> System.Reflection.Emit.AssemblyBuilder

参数

name
AssemblyName

动态程序集的唯一标识。The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

访问动态程序集所采用的模式。The mode in which the dynamic assembly will be accessed.

evidence
Evidence

为动态程序集提供的证据。The evidence supplied for the dynamic assembly. 该证据始终作为最后一组用于策略解析的证据来使用。The evidence is used unaltered as the final set of evidence used for policy resolution.

requiredPermissions
PermissionSet

必需的权限请求。The required permissions request.

optionalPermissions
PermissionSet

可选的权限请求。The optional permissions request.

refusedPermissions
PermissionSet

被拒绝的权限请求。The refused permissions request.

返回

表示创建的动态程序集。Represents the dynamic assembly created.

注解

请参阅AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet)方法重载。See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) method overload.

public:
 System::Reflection::Emit::AssemblyBuilder ^ DefineDynamicAssembly(System::Reflection::AssemblyName ^ name, System::Reflection::Emit::AssemblyBuilderAccess access, System::String ^ dir);
public System.Reflection.Emit.AssemblyBuilder DefineDynamicAssembly (System.Reflection.AssemblyName name, System.Reflection.Emit.AssemblyBuilderAccess access, string dir);
abstract member DefineDynamicAssembly : System.Reflection.AssemblyName * System.Reflection.Emit.AssemblyBuilderAccess * string -> System.Reflection.Emit.AssemblyBuilder
Public Function DefineDynamicAssembly (name As AssemblyName, access As AssemblyBuilderAccess, dir As String) As AssemblyBuilder

参数

name
AssemblyName

动态程序集的唯一标识。The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

访问动态程序集所采用的模式。The mode in which the dynamic assembly will be accessed.

dir
String

保存程序集的目录的名称。The name of the directory where the assembly will be saved. 如果 dirnull,目录将默认为当前目录。If dir is null, the directory defaults to the current directory.

返回

表示创建的动态程序集。Represents the dynamic assembly created.

注解

请参阅AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String)方法重载。See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence) method overload.

public:
 System::Reflection::Emit::AssemblyBuilder ^ DefineDynamicAssembly(System::Reflection::AssemblyName ^ name, System::Reflection::Emit::AssemblyBuilderAccess access, System::String ^ dir, System::Security::Policy::Evidence ^ evidence);
public System.Reflection.Emit.AssemblyBuilder DefineDynamicAssembly (System.Reflection.AssemblyName name, System.Reflection.Emit.AssemblyBuilderAccess access, string dir, System.Security.Policy.Evidence evidence);
abstract member DefineDynamicAssembly : System.Reflection.AssemblyName * System.Reflection.Emit.AssemblyBuilderAccess * string * System.Security.Policy.Evidence -> System.Reflection.Emit.AssemblyBuilder

参数

name
AssemblyName

动态程序集的唯一标识。The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

访问动态程序集所采用的模式。The mode in which the dynamic assembly will be accessed.

dir
String

保存程序集的目录的名称。The name of the directory where the assembly will be saved. 如果 dirnull,目录将默认为当前目录。If dir is null, the directory defaults to the current directory.

evidence
Evidence

为动态程序集提供的证据。The evidence supplied for the dynamic assembly. 该证据始终作为最后一组用于策略解析的证据来使用。The evidence is used unaltered as the final set of evidence used for policy resolution.

返回

表示创建的动态程序集。Represents the dynamic assembly created.

注解

请参阅AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence)方法重载。See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) method overload.

public:
 System::Reflection::Emit::AssemblyBuilder ^ DefineDynamicAssembly(System::Reflection::AssemblyName ^ name, System::Reflection::Emit::AssemblyBuilderAccess access, System::Security::Policy::Evidence ^ evidence);
public System.Reflection.Emit.AssemblyBuilder DefineDynamicAssembly (System.Reflection.AssemblyName name, System.Reflection.Emit.AssemblyBuilderAccess access, System.Security.Policy.Evidence evidence);
abstract member DefineDynamicAssembly : System.Reflection.AssemblyName * System.Reflection.Emit.AssemblyBuilderAccess * System.Security.Policy.Evidence -> System.Reflection.Emit.AssemblyBuilder

参数

name
AssemblyName

动态程序集的唯一标识。The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

访问动态程序集所采用的模式。The mode in which the dynamic assembly will be accessed.

evidence
Evidence

为动态程序集提供的证据。The evidence supplied for the dynamic assembly. 该证据始终作为最后一组用于策略解析的证据来使用。The evidence is used unaltered as the final set of evidence used for policy resolution.

返回

表示创建的动态程序集。Represents the dynamic assembly created.

注解

请参阅AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence)方法重载。See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) method overload.

public:
 System::Reflection::Emit::AssemblyBuilder ^ DefineDynamicAssembly(System::Reflection::AssemblyName ^ name, System::Reflection::Emit::AssemblyBuilderAccess access);
public System.Reflection.Emit.AssemblyBuilder DefineDynamicAssembly (System.Reflection.AssemblyName name, System.Reflection.Emit.AssemblyBuilderAccess access);
abstract member DefineDynamicAssembly : System.Reflection.AssemblyName * System.Reflection.Emit.AssemblyBuilderAccess -> System.Reflection.Emit.AssemblyBuilder
Public Function DefineDynamicAssembly (name As AssemblyName, access As AssemblyBuilderAccess) As AssemblyBuilder

参数

name
AssemblyName

动态程序集的唯一标识。The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

动态程序集的访问模式。The access mode for the dynamic assembly.

返回

表示创建的动态程序集。Represents the dynamic assembly created.

注解

请参阅AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)方法重载。See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet) method overload.

public:
 System::Reflection::Emit::AssemblyBuilder ^ DefineDynamicAssembly(System::Reflection::AssemblyName ^ name, System::Reflection::Emit::AssemblyBuilderAccess access, System::Security::PermissionSet ^ requiredPermissions, System::Security::PermissionSet ^ optionalPermissions, System::Security::PermissionSet ^ refusedPermissions);
public System.Reflection.Emit.AssemblyBuilder DefineDynamicAssembly (System.Reflection.AssemblyName name, System.Reflection.Emit.AssemblyBuilderAccess access, System.Security.PermissionSet requiredPermissions, System.Security.PermissionSet optionalPermissions, System.Security.PermissionSet refusedPermissions);
abstract member DefineDynamicAssembly : System.Reflection.AssemblyName * System.Reflection.Emit.AssemblyBuilderAccess * System.Security.PermissionSet * System.Security.PermissionSet * System.Security.PermissionSet -> System.Reflection.Emit.AssemblyBuilder
Public Function DefineDynamicAssembly (name As AssemblyName, access As AssemblyBuilderAccess, requiredPermissions As PermissionSet, optionalPermissions As PermissionSet, refusedPermissions As PermissionSet) As AssemblyBuilder

参数

name
AssemblyName

动态程序集的唯一标识。The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

访问动态程序集所采用的模式。The mode in which the dynamic assembly will be accessed.

requiredPermissions
PermissionSet

必需的权限请求。The required permissions request.

optionalPermissions
PermissionSet

可选的权限请求。The optional permissions request.

refusedPermissions
PermissionSet

被拒绝的权限请求。The refused permissions request.

返回

表示创建的动态程序集。Represents the dynamic assembly created.

注解

请参阅AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet)方法重载。See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet) method overload.

适用于