共用方式為


_AppDomain.DefineDynamicAssembly 方法

定義

為 COM 物件提供與版本無關的 DefineDynamicAssembly 方法之存取權。

多載

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

為 COM 物件提供 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean) 方法多載之與版本無關的存取權。

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

為 COM 物件提供 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet) 方法多載之與版本無關的存取權。

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

為 COM 物件提供 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet) 方法多載之與版本無關的存取權。

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

為 COM 物件提供 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet) 方法多載之與版本無關的存取權。

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String)

為 COM 物件提供 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) 方法多載之與版本無關的存取權。

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence)

為 COM 物件提供 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence) 方法多載之與版本無關的存取權。

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence)

為 COM 物件提供 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) 方法多載之與版本無關的存取權。

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)

為 COM 物件提供 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) 方法多載之與版本無關的存取權。

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

為 COM 物件提供 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet) 方法多載之與版本無關的存取權。

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
Public Function DefineDynamicAssembly (name As AssemblyName, access As AssemblyBuilderAccess, dir As String, evidence As Evidence, requiredPermissions As PermissionSet, optionalPermissions As PermissionSet, refusedPermissions As PermissionSet, isSynchronized As Boolean) As AssemblyBuilder

參數

name
AssemblyName

動態組件的唯一識別。

access
AssemblyBuilderAccess

將用來存取動態組件的模式。

dir
String

將儲存動態組件的目錄名稱。 如果 dirnull,目錄會預設為目前的目錄。

evidence
Evidence

提供給動態組件的辨識項。 此辨識項的使用不變,與用於原則解析的最終辨識項集合相同。

requiredPermissions
PermissionSet

必要的權限要求。

optionalPermissions
PermissionSet

選擇性的權限要求。

refusedPermissions
PermissionSet

拒絕的權限要求。

isSynchronized
Boolean

若要在動態組件中同步建立模組、類型和成員,則為 true;否則為 false

傳回

表示建立的動態組件。

備註

AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean)請參閱 方法多載。

適用於

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
Public Function DefineDynamicAssembly (name As AssemblyName, access As AssemblyBuilderAccess, dir As String, evidence As Evidence, requiredPermissions As PermissionSet, optionalPermissions As PermissionSet, refusedPermissions As PermissionSet) As AssemblyBuilder

參數

name
AssemblyName

動態組件的唯一識別。

access
AssemblyBuilderAccess

將用來存取動態組件的模式。

dir
String

將儲存組件的目錄名稱。 如果 dirnull,目錄會預設為目前的目錄。

evidence
Evidence

提供給動態組件的辨識項。 此辨識項的使用不變,與用於原則解析的最終辨識項集合相同。

requiredPermissions
PermissionSet

必要的權限要求。

optionalPermissions
PermissionSet

選擇性的權限要求。

refusedPermissions
PermissionSet

拒絕的權限要求。

傳回

表示建立的動態組件。

備註

AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet)請參閱 方法多載。

適用於

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

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

動態組件的唯一識別。

access
AssemblyBuilderAccess

將用來存取動態組件的模式。

dir
String

將儲存組件的目錄名稱。 如果 dirnull,目錄會預設為目前的目錄。

requiredPermissions
PermissionSet

必要的權限要求。

optionalPermissions
PermissionSet

選擇性的權限要求。

refusedPermissions
PermissionSet

拒絕的權限要求。

傳回

表示建立的動態組件。

備註

AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet)請參閱 方法多載。

適用於

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

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
Public Function DefineDynamicAssembly (name As AssemblyName, access As AssemblyBuilderAccess, evidence As Evidence, requiredPermissions As PermissionSet, optionalPermissions As PermissionSet, refusedPermissions As PermissionSet) As AssemblyBuilder

參數

name
AssemblyName

動態組件的唯一識別。

access
AssemblyBuilderAccess

將用來存取動態組件的模式。

evidence
Evidence

提供給動態組件的辨識項。 此辨識項的使用不變,與用於原則解析的最終辨識項集合相同。

requiredPermissions
PermissionSet

必要的權限要求。

optionalPermissions
PermissionSet

選擇性的權限要求。

refusedPermissions
PermissionSet

拒絕的權限要求。

傳回

表示建立的動態組件。

備註

AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet)請參閱 方法多載。

適用於

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String)

為 COM 物件提供 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) 方法多載之與版本無關的存取權。

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

動態組件的唯一識別。

access
AssemblyBuilderAccess

將用來存取動態組件的模式。

dir
String

將儲存組件的目錄名稱。 如果 dirnull,目錄會預設為目前的目錄。

傳回

表示建立的動態組件。

備註

AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String)請參閱 方法多載。

適用於

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence)

為 COM 物件提供 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence) 方法多載之與版本無關的存取權。

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
Public Function DefineDynamicAssembly (name As AssemblyName, access As AssemblyBuilderAccess, dir As String, evidence As Evidence) As AssemblyBuilder

參數

name
AssemblyName

動態組件的唯一識別。

access
AssemblyBuilderAccess

將用來存取動態組件的模式。

dir
String

將儲存組件的目錄名稱。 如果 dirnull,目錄會預設為目前的目錄。

evidence
Evidence

提供給動態組件的辨識項。 此辨識項的使用不變,與用於原則解析的最終辨識項集合相同。

傳回

表示建立的動態組件。

備註

AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence)請參閱 方法多載。

適用於

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence)

為 COM 物件提供 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) 方法多載之與版本無關的存取權。

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
Public Function DefineDynamicAssembly (name As AssemblyName, access As AssemblyBuilderAccess, evidence As Evidence) As AssemblyBuilder

參數

name
AssemblyName

動態組件的唯一識別。

access
AssemblyBuilderAccess

將用來存取動態組件的模式。

evidence
Evidence

提供給動態組件的辨識項。 此辨識項的使用不變,與用於原則解析的最終辨識項集合相同。

傳回

表示建立的動態組件。

備註

AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence)請參閱 方法多載。

適用於

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)

為 COM 物件提供 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) 方法多載之與版本無關的存取權。

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

動態組件的唯一識別。

access
AssemblyBuilderAccess

提供給動態組件的存取模式。

傳回

表示建立的動態組件。

備註

AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)請參閱 方法多載。

適用於

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

為 COM 物件提供 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet) 方法多載之與版本無關的存取權。

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

動態組件的唯一識別。

access
AssemblyBuilderAccess

將用來存取動態組件的模式。

requiredPermissions
PermissionSet

必要的權限要求。

optionalPermissions
PermissionSet

選擇性的權限要求。

refusedPermissions
PermissionSet

拒絕的權限要求。

傳回

表示建立的動態組件。

備註

AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet)請參閱 方法多載。

適用於