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

_AppDomain.DefineDynamicAssembly Method (AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean)

Provides COM objects with version-independent access to the AppDomain.DefineDynamicAssembly(AssemblyName,AssemblyBuilderAccess,String,Evidence,PermissionSet,PermissionSet,PermissionSet,Boolean) method overload.

This method is not CLS-compliant.  

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

'Declaration
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
'Usage
Dim instance As _AppDomain
Dim name As AssemblyName
Dim access As AssemblyBuilderAccess
Dim dir As String
Dim evidence As Evidence
Dim requiredPermissions As PermissionSet
Dim optionalPermissions As PermissionSet
Dim refusedPermissions As PermissionSet
Dim isSynchronized As Boolean
Dim returnValue As AssemblyBuilder

returnValue = instance.DefineDynamicAssembly(name, access, dir, evidence, requiredPermissions, optionalPermissions, refusedPermissions, isSynchronized)
AssemblyBuilder DefineDynamicAssembly (
	AssemblyName name, 
	AssemblyBuilderAccess access, 
	String dir, 
	Evidence evidence, 
	PermissionSet requiredPermissions, 
	PermissionSet optionalPermissions, 
	PermissionSet refusedPermissions, 
	boolean isSynchronized
)
function DefineDynamicAssembly (
	name : AssemblyName, 
	access : AssemblyBuilderAccess, 
	dir : String, 
	evidence : Evidence, 
	requiredPermissions : PermissionSet, 
	optionalPermissions : PermissionSet, 
	refusedPermissions : PermissionSet, 
	isSynchronized : boolean
) : AssemblyBuilder

Parameters

name
access
dir
evidence
requiredPermissions
optionalPermissions
refusedPermissions
isSynchronized

See the AppDomain.DefineDynamicAssembly(AssemblyName,AssemblyBuilderAccess,String,Evidence,PermissionSet,PermissionSet,PermissionSet,Boolean) method overload.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2016 Microsoft