W3cubDocs

/Haxe C#

AppDomain

package cs.system

extends MarshalByRefObject

implements _AppDomain, IEvidenceFactory

Available on cs

Variables

read only ActivationContext:ActivationContext

read only ApplicationIdentity:ApplicationIdentity

read only ApplicationTrust:ApplicationTrust

read only BaseDirectory:String

read only DomainManager:AppDomainManager

read only DynamicDirectory:String

read only Evidence:Evidence

read only FriendlyName:String

read only Id:Int

read only RelativeSearchPath:String

read only SetupInformation:AppDomainSetup

read only ShadowCopyFiles:Bool

Methods

AppendPrivatePath (path:String):Void

ApplyPolicy (assemblyName:String):String

ClearPrivatePath ():Void

ClearShadowCopyPath ():Void

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

DoCallBack (callBackDelegate:CrossAppDomainDelegate):Void

ExecuteAssembly (assemblyFile:String):Int

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

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

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

ExecuteAssemblyByName (assemblyName:String):Int

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

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

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

GetAssemblies ():NativeArray<Assembly>

GetData (name:String):Dynamic

GetType ():Type

IsDefaultAppDomain ():Bool

IsFinalizingForUnload ():Bool

Load (assemblyRef:AssemblyName):Assembly

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

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

Load (rawAssembly:NativeArray<UInt8>):Assembly

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

Load (assemblyString:String):Assembly

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

ReflectionOnlyGetAssemblies ():NativeArray<Assembly>

SetAppDomainPolicy (domainPolicy:PolicyLevel):Void

SetCachePath (path:String):Void

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

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

SetDynamicBase (path:String):Void

SetPrincipalPolicy (policy:PrincipalPolicy):Void

SetShadowCopyFiles ():Void

SetShadowCopyPath (path:String):Void

SetThreadPrincipal (principal:IPrincipal):Void

ToString ():String

add_AssemblyLoad (value:AssemblyLoadEventHandler):Void

add_AssemblyResolve (value:ResolveEventHandler):Void

add_DomainUnload (value:EventHandler):Void

add_ProcessExit (value:EventHandler):Void

add_ReflectionOnlyAssemblyResolve (value:ResolveEventHandler):Void

add_ResourceResolve (value:ResolveEventHandler):Void

add_TypeResolve (value:ResolveEventHandler):Void

add_UnhandledException (value:UnhandledExceptionEventHandler):Void

remove_AssemblyLoad (value:AssemblyLoadEventHandler):Void

remove_AssemblyResolve (value:ResolveEventHandler):Void

remove_DomainUnload (value:EventHandler):Void

remove_ProcessExit (value:EventHandler):Void

remove_ReflectionOnlyAssemblyResolve (value:ResolveEventHandler):Void

remove_ResourceResolve (value:ResolveEventHandler):Void

remove_TypeResolve (value:ResolveEventHandler):Void

remove_UnhandledException (value:UnhandledExceptionEventHandler):Void

Static variables

static read only CurrentDomain:AppDomain

Static methods

static CreateDomain (friendlyName:String):AppDomain

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

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

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

static CreateDomain (friendlyName:String, securityInfo:Evidence, info:AppDomainSetup):AppDomain

static CreateDomain (friendlyName:String, securityInfo:Evidence):AppDomain

static GetCurrentThreadId ():Int

static Unload (domain:AppDomain):Void

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