_AppDomain.DefineDynamicAssembly Método

Definición

Proporciona el acceso independiente de la versión de los objetos COM al método DefineDynamicAssembly.Provides COM objects with version-independent access to the DefineDynamicAssembly method.

Sobrecargas

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

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método 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)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método 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)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método 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)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método 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)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String).Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método 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)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence).Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess).Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) method overload.

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

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método 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)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método 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.

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

Parámetros

name
AssemblyName

Identidad única del ensamblado dinámico.The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

Modo de acceso al ensamblado dinámico.The mode in which the dynamic assembly will be accessed.

dir
String

Nombre del directorio donde se guardará el ensamblado dinámico.The name of the directory where the dynamic assembly will be saved. Si dir es null, el directorio predeterminado es el directorio actual.If dir is null, the directory defaults to the current directory.

evidence
Evidence

Evidencia suministrada para el ensamblado dinámico.The evidence supplied for the dynamic assembly. La evidencia se usa sin modificaciones como conjunto final de evidencia para la resolución de directivas.The evidence is used unaltered as the final set of evidence used for policy resolution.

requiredPermissions
PermissionSet

Solicitud de permisos requeridos.The required permissions request.

optionalPermissions
PermissionSet

Solicitud de permisos opcionales.The optional permissions request.

refusedPermissions
PermissionSet

Solicitud de permisos rechazados.The refused permissions request.

isSynchronized
Boolean

true para sincronizar la creación de módulos, tipos y miembros en el ensamblado dinámico; en caso contrario, false.true to synchronize the creation of modules, types, and members in the dynamic assembly; otherwise, false.

Devoluciones

Representa el ensamblado dinámico creado.Represents the dynamic assembly created.

Comentarios

Vea la AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean) sobrecarga del método.See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean) method overload.

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

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método 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.

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

Parámetros

name
AssemblyName

Identidad única del ensamblado dinámico.The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

Modo de acceso al ensamblado dinámico.The mode in which the dynamic assembly will be accessed.

dir
String

Nombre del directorio donde se guardará el ensamblado.The name of the directory where the assembly will be saved. Si dir es null, el directorio predeterminado es el directorio actual.If dir is null, the directory defaults to the current directory.

evidence
Evidence

Evidencia suministrada para el ensamblado dinámico.The evidence supplied for the dynamic assembly. La evidencia se usa sin modificaciones como conjunto final de evidencia para la resolución de directivas.The evidence is used unaltered as the final set of evidence used for policy resolution.

requiredPermissions
PermissionSet

Solicitud de permisos requeridos.The required permissions request.

optionalPermissions
PermissionSet

Solicitud de permisos opcionales.The optional permissions request.

refusedPermissions
PermissionSet

Solicitud de permisos rechazados.The refused permissions request.

Devoluciones

Representa el ensamblado dinámico creado.Represents the dynamic assembly created.

Comentarios

Vea la AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet) sobrecarga del método.See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet) method overload.

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

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método 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

Parámetros

name
AssemblyName

Identidad única del ensamblado dinámico.The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

Modo de acceso al ensamblado dinámico.The mode in which the dynamic assembly will be accessed.

dir
String

Nombre del directorio donde se guardará el ensamblado.The name of the directory where the assembly will be saved. Si dir es null, el directorio predeterminado es el directorio actual.If dir is null, the directory defaults to the current directory.

requiredPermissions
PermissionSet

Solicitud de permisos requeridos.The required permissions request.

optionalPermissions
PermissionSet

Solicitud de permisos opcionales.The optional permissions request.

refusedPermissions
PermissionSet

Solicitud de permisos rechazados.The refused permissions request.

Devoluciones

Representa el ensamblado dinámico creado.Represents the dynamic assembly created.

Comentarios

Vea la AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet) sobrecarga del método.See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet) method overload.

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

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método 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

Parámetros

name
AssemblyName

Identidad única del ensamblado dinámico.The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

Modo de acceso al ensamblado dinámico.The mode in which the dynamic assembly will be accessed.

evidence
Evidence

Evidencia suministrada para el ensamblado dinámico.The evidence supplied for the dynamic assembly. La evidencia se usa sin modificaciones como conjunto final de evidencia para la resolución de directivas.The evidence is used unaltered as the final set of evidence used for policy resolution.

requiredPermissions
PermissionSet

Solicitud de permisos requeridos.The required permissions request.

optionalPermissions
PermissionSet

Solicitud de permisos opcionales.The optional permissions request.

refusedPermissions
PermissionSet

Solicitud de permisos rechazados.The refused permissions request.

Devoluciones

Representa el ensamblado dinámico creado.Represents the dynamic assembly created.

Comentarios

Vea la AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet) sobrecarga del método.See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método 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

Parámetros

name
AssemblyName

Identidad única del ensamblado dinámico.The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

Modo de acceso al ensamblado dinámico.The mode in which the dynamic assembly will be accessed.

dir
String

Nombre del directorio donde se guardará el ensamblado.The name of the directory where the assembly will be saved. Si dir es null, el directorio predeterminado es el directorio actual.If dir is null, the directory defaults to the current directory.

Devoluciones

Representa el ensamblado dinámico creado.Represents the dynamic assembly created.

Comentarios

Vea la AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) sobrecarga del método.See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método 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

Parámetros

name
AssemblyName

Identidad única del ensamblado dinámico.The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

Modo de acceso al ensamblado dinámico.The mode in which the dynamic assembly will be accessed.

dir
String

Nombre del directorio donde se guardará el ensamblado.The name of the directory where the assembly will be saved. Si dir es null, el directorio predeterminado es el directorio actual.If dir is null, the directory defaults to the current directory.

evidence
Evidence

Evidencia suministrada para el ensamblado dinámico.The evidence supplied for the dynamic assembly. La evidencia se usa sin modificaciones como conjunto final de evidencia para la resolución de directivas.The evidence is used unaltered as the final set of evidence used for policy resolution.

Devoluciones

Representa el ensamblado dinámico creado.Represents the dynamic assembly created.

Comentarios

Vea la AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence) sobrecarga del método.See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método 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

Parámetros

name
AssemblyName

Identidad única del ensamblado dinámico.The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

Modo de acceso al ensamblado dinámico.The mode in which the dynamic assembly will be accessed.

evidence
Evidence

Evidencia suministrada para el ensamblado dinámico.The evidence supplied for the dynamic assembly. La evidencia se usa sin modificaciones como conjunto final de evidencia para la resolución de directivas.The evidence is used unaltered as the final set of evidence used for policy resolution.

Devoluciones

Representa el ensamblado dinámico creado.Represents the dynamic assembly created.

Comentarios

Vea la AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) sobrecarga del método.See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método 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

Parámetros

name
AssemblyName

Identidad única del ensamblado dinámico.The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

Modo de acceso del ensamblado dinámico.The access mode for the dynamic assembly.

Devoluciones

Representa el ensamblado dinámico creado.Represents the dynamic assembly created.

Comentarios

Vea la AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) sobrecarga del método.See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) method overload.

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

Proporciona a los objetos COM acceso independiente de la versión a la sobrecarga del método 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

Parámetros

name
AssemblyName

Identidad única del ensamblado dinámico.The unique identity of the dynamic assembly.

access
AssemblyBuilderAccess

Modo de acceso al ensamblado dinámico.The mode in which the dynamic assembly will be accessed.

requiredPermissions
PermissionSet

Solicitud de permisos requeridos.The required permissions request.

optionalPermissions
PermissionSet

Solicitud de permisos opcionales.The optional permissions request.

refusedPermissions
PermissionSet

Solicitud de permisos rechazados.The refused permissions request.

Devoluciones

Representa el ensamblado dinámico creado.Represents the dynamic assembly created.

Comentarios

Vea la AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet) sobrecarga del método.See the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet) method overload.

Se aplica a