AppDomain

package cs.system

extends MarshalByRefObject

implements _AppDomain, IEvidenceFactory

Available on cs

Static variables

staticread onlyCurrentDomain:AppDomain

Static methods

staticCreateDomain(friendlyName:String):AppDomain

staticCreateDomain(friendlyName:String, securityInfo:Evidence, appBasePath:String, appRelativeSearchPath:String, shadowCopyFiles:Bool, adInit:AppDomainInitializer, adInitArgs:NativeArray<String>):AppDomain

staticCreateDomain(friendlyName:String, securityInfo:Evidence, info:AppDomainSetup, grantSet:PermissionSet, fullTrustAssemblies:NativeArray<StrongName>):AppDomain

staticCreateDomain(friendlyName:String, securityInfo:Evidence, appBasePath:String, appRelativeSearchPath:String, shadowCopyFiles:Bool):AppDomain

staticCreateDomain(friendlyName:String, securityInfo:Evidence, info:AppDomainSetup):AppDomain

staticCreateDomain(friendlyName:String, securityInfo:Evidence):AppDomain

staticGetCurrentThreadId():Int

staticUnload(domain:AppDomain):Void

Variables

read onlyActivationContext:ActivationContext

read onlyApplicationIdentity:ApplicationIdentity

read onlyApplicationTrust:ApplicationTrust

read onlyBaseDirectory:String

read onlyDomainManager:AppDomainManager

read onlyDynamicDirectory:String

read onlyEvidence:Evidence

read onlyFriendlyName:String

read onlyId:Int

read onlyRelativeSearchPath:String

read onlySetupInformation:AppDomainSetup

read onlyShadowCopyFiles:Bool

Methods

finalAppendPrivatePath(path:String):Void

finalApplyPolicy(assemblyName:String):String

finalClearPrivatePath():Void

finalClearShadowCopyPath():Void

finalCreateComInstanceFrom(assemblyName:String, typeName:String):ObjectHandle

finalCreateComInstanceFrom(assemblyFile:String, typeName:String, hashValue:NativeArray<UInt8>, hashAlgorithm:AssemblyHashAlgorithm):ObjectHandle

finalCreateInstance(assemblyName:String, typeName:String):ObjectHandle

finalCreateInstance(assemblyName:String, typeName:String, ignoreCase:Bool, bindingAttr:BindingFlags, binder:Binder, args:NativeArray<Dynamic>, culture:CultureInfo, activationAttributes:NativeArray<Dynamic>, securityAttributes:Evidence):ObjectHandle

finalCreateInstance(assemblyName:String, typeName:String, activationAttributes:NativeArray<Dynamic>):ObjectHandle

finalCreateInstanceAndUnwrap(assemblyName:String, typeName:String):Dynamic

finalCreateInstanceAndUnwrap(assemblyName:String, typeName:String, ignoreCase:Bool, bindingAttr:BindingFlags, binder:Binder, args:NativeArray<Dynamic>, culture:CultureInfo, activationAttributes:NativeArray<Dynamic>, securityAttributes:Evidence):Dynamic

finalCreateInstanceAndUnwrap(assemblyName:String, typeName:String, activationAttributes:NativeArray<Dynamic>):Dynamic

finalCreateInstanceFrom(assemblyFile:String, typeName:String):ObjectHandle

finalCreateInstanceFrom(assemblyFile:String, typeName:String, ignoreCase:Bool, bindingAttr:BindingFlags, binder:Binder, args:NativeArray<Dynamic>, culture:CultureInfo, activationAttributes:NativeArray<Dynamic>, securityAttributes:Evidence):ObjectHandle

finalCreateInstanceFrom(assemblyFile:String, typeName:String, activationAttributes:NativeArray<Dynamic>):ObjectHandle

finalCreateInstanceFromAndUnwrap(assemblyName:String, typeName:String):Dynamic

finalCreateInstanceFromAndUnwrap(assemblyName:String, typeName:String, ignoreCase:Bool, bindingAttr:BindingFlags, binder:Binder, args:NativeArray<Dynamic>, culture:CultureInfo, activationAttributes:NativeArray<Dynamic>, securityAttributes:Evidence):Dynamic

finalCreateInstanceFromAndUnwrap(assemblyName:String, typeName:String, activationAttributes:NativeArray<Dynamic>):Dynamic

finalDefineDynamicAssembly(name:AssemblyName, access:AssemblyBuilderAccess):AssemblyBuilder

finalDefineDynamicAssembly(name:AssemblyName, access:AssemblyBuilderAccess, assemblyAttributes:IEnumerable_1<CustomAttributeBuilder>):AssemblyBuilder

finalDefineDynamicAssembly(name:AssemblyName, access:AssemblyBuilderAccess, dir:String, evidence:Evidence, requiredPermissions:PermissionSet, optionalPermissions:PermissionSet, refusedPermissions:PermissionSet, isSynchronized:Bool, assemblyAttributes:IEnumerable_1<CustomAttributeBuilder>):AssemblyBuilder

finalDefineDynamicAssembly(name:AssemblyName, access:AssemblyBuilderAccess, dir:String, evidence:Evidence, requiredPermissions:PermissionSet, optionalPermissions:PermissionSet, refusedPermissions:PermissionSet, isSynchronized:Bool):AssemblyBuilder

finalDefineDynamicAssembly(name:AssemblyName, access:AssemblyBuilderAccess, dir:String, evidence:Evidence, requiredPermissions:PermissionSet, optionalPermissions:PermissionSet, refusedPermissions:PermissionSet):AssemblyBuilder

finalDefineDynamicAssembly(name:AssemblyName, access:AssemblyBuilderAccess, dir:String, requiredPermissions:PermissionSet, optionalPermissions:PermissionSet, refusedPermissions:PermissionSet):AssemblyBuilder

finalDefineDynamicAssembly(name:AssemblyName, access:AssemblyBuilderAccess, evidence:Evidence, requiredPermissions:PermissionSet, optionalPermissions:PermissionSet, refusedPermissions:PermissionSet):AssemblyBuilder

finalDefineDynamicAssembly(name:AssemblyName, access:AssemblyBuilderAccess, requiredPermissions:PermissionSet, optionalPermissions:PermissionSet, refusedPermissions:PermissionSet):AssemblyBuilder

finalDefineDynamicAssembly(name:AssemblyName, access:AssemblyBuilderAccess, dir:String, evidence:Evidence):AssemblyBuilder

finalDefineDynamicAssembly(name:AssemblyName, access:AssemblyBuilderAccess, dir:String):AssemblyBuilder

finalDefineDynamicAssembly(name:AssemblyName, access:AssemblyBuilderAccess, evidence:Evidence):AssemblyBuilder

finalDoCallBack(callBackDelegate:CrossAppDomainDelegate):Void

finalExecuteAssembly(assemblyFile:String):Int

finalExecuteAssembly(assemblyFile:String, assemblySecurity:Evidence, args:NativeArray<String>, hashValue:NativeArray<UInt8>, hashAlgorithm:AssemblyHashAlgorithm):Int

finalExecuteAssembly(assemblyFile:String, assemblySecurity:Evidence, args:NativeArray<String>):Int

finalExecuteAssembly(assemblyFile:String, assemblySecurity:Evidence):Int

finalExecuteAssemblyByName(assemblyName:String):Int

finalExecuteAssemblyByName(assemblyName:AssemblyName, assemblySecurity:Evidence, args:NativeArray<String>):Int

finalExecuteAssemblyByName(assemblyName:String, assemblySecurity:Evidence, args:NativeArray<String>):Int

finalExecuteAssemblyByName(assemblyName:String, assemblySecurity:Evidence):Int

finalGetAssemblies():NativeArray<Assembly>

finalGetData(name:String):Dynamic

finalGetType():Type

finalIsDefaultAppDomain():Bool

finalIsFinalizingForUnload():Bool

finalLoad(assemblyRef:AssemblyName):Assembly

finalLoad(rawAssembly:NativeArray<UInt8>, rawSymbolStore:NativeArray<UInt8>, securityEvidence:Evidence):Assembly

finalLoad(rawAssembly:NativeArray<UInt8>, rawSymbolStore:NativeArray<UInt8>):Assembly

finalLoad(rawAssembly:NativeArray<UInt8>):Assembly

finalLoad(assemblyString:String, assemblySecurity:Evidence):Assembly

finalLoad(assemblyString:String):Assembly

finalLoad(assemblyRef:AssemblyName, assemblySecurity:Evidence):Assembly

finalReflectionOnlyGetAssemblies():NativeArray<Assembly>

finalSetAppDomainPolicy(domainPolicy:PolicyLevel):Void

finalSetCachePath(path:String):Void

finalSetData(name:String, data:Dynamic):Void

finalSetData(name:String, data:Dynamic, permission:IPermission):Void

finalSetDynamicBase(path:String):Void

finalSetPrincipalPolicy(policy:PrincipalPolicy):Void

finalSetShadowCopyFiles():Void

finalSetShadowCopyPath(path:String):Void

finalSetThreadPrincipal(principal:IPrincipal):Void

ToString():String

finaladd_AssemblyLoad(value:AssemblyLoadEventHandler):Void

finaladd_AssemblyResolve(value:ResolveEventHandler):Void

finaladd_DomainUnload(value:EventHandler):Void

finaladd_ProcessExit(value:EventHandler):Void

finaladd_ReflectionOnlyAssemblyResolve(value:ResolveEventHandler):Void

finaladd_ResourceResolve(value:ResolveEventHandler):Void

finaladd_TypeResolve(value:ResolveEventHandler):Void

finaladd_UnhandledException(value:UnhandledExceptionEventHandler):Void

finalremove_AssemblyLoad(value:AssemblyLoadEventHandler):Void

finalremove_AssemblyResolve(value:ResolveEventHandler):Void

finalremove_DomainUnload(value:EventHandler):Void

finalremove_ProcessExit(value:EventHandler):Void

finalremove_ReflectionOnlyAssemblyResolve(value:ResolveEventHandler):Void

finalremove_ResourceResolve(value:ResolveEventHandler):Void

finalremove_TypeResolve(value:ResolveEventHandler):Void

finalremove_UnhandledException(value:UnhandledExceptionEventHandler):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/AppDomain.html