W3cubDocs

/Haxe C#

AppDomain

package cs.system

extends MarshalByRefObject

implements _AppDomain, IEvidenceFactory

@:final@:libType@:csNative@:native("System.AppDomain") 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

@:final @:overload AppendPrivatePath (path:String):Void

@:final @:overload ApplyPolicy (assemblyName:String):String

@:final @:overload ClearPrivatePath ():Void

@:final @:overload ClearShadowCopyPath ():Void

@:final @:overload CreateComInstanceFrom (assemblyName:String, typeName:String):ObjectHandle

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

@:final @:overload CreateInstance (assemblyName:String, typeName:String):ObjectHandle

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

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

@:final @:overload CreateInstanceAndUnwrap (assemblyName:String, typeName:String):Dynamic

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

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

@:final @:overload CreateInstanceFrom (assemblyFile:String, typeName:String):ObjectHandle

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

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

@:final @:overload CreateInstanceFromAndUnwrap (assemblyName:String, typeName:String):Dynamic

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

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

@:final @:overload DefineDynamicAssembly (name:AssemblyName, access:AssemblyBuilderAccess):AssemblyBuilder

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

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

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

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

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

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

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

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

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

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

@:final @:overload DoCallBack (callBackDelegate:CrossAppDomainDelegate):Void

@:final @:overload ExecuteAssembly (assemblyFile:String):Int

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

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

@:final @:overload ExecuteAssembly (assemblyFile:String, assemblySecurity:Evidence):Int

@:final @:overload ExecuteAssemblyByName (assemblyName:String):Int

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

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

@:final @:overload ExecuteAssemblyByName (assemblyName:String, assemblySecurity:Evidence):Int

@:final @:overload GetAssemblies ():NativeArray<Assembly>

@:final @:overload GetData (name:String):Dynamic

@:final @:overload GetType ():Type

@:final @:overload IsDefaultAppDomain ():Bool

@:final @:overload IsFinalizingForUnload ():Bool

@:final @:overload Load (assemblyRef:AssemblyName):Assembly

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

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

@:final @:overload Load (rawAssembly:NativeArray<UInt8>):Assembly

@:final @:overload Load (assemblyString:String, assemblySecurity:Evidence):Assembly

@:final @:overload Load (assemblyString:String):Assembly

@:final @:overload Load (assemblyRef:AssemblyName, assemblySecurity:Evidence):Assembly

@:final @:overload ReflectionOnlyGetAssemblies ():NativeArray<Assembly>

@:final @:overload SetAppDomainPolicy (domainPolicy:PolicyLevel):Void

@:final @:overload SetCachePath (path:String):Void

@:final @:overload SetData (name:String, data:Dynamic):Void

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

@:final @:overload SetDynamicBase (path:String):Void

@:final @:overload SetPrincipalPolicy (policy:PrincipalPolicy):Void

@:final @:overload SetShadowCopyFiles ():Void

@:final @:overload SetShadowCopyPath (path:String):Void

@:final @:overload SetThreadPrincipal (principal:IPrincipal):Void

@:overload ToString ():String

@:final @:overload add_AssemblyLoad (value:AssemblyLoadEventHandler):Void

@:final @:overload add_AssemblyResolve (value:ResolveEventHandler):Void

@:final @:overload add_DomainUnload (value:EventHandler):Void

@:final @:overload add_ProcessExit (value:EventHandler):Void

@:final @:overload add_ReflectionOnlyAssemblyResolve (value:ResolveEventHandler):Void

@:final @:overload add_ResourceResolve (value:ResolveEventHandler):Void

@:final @:overload add_TypeResolve (value:ResolveEventHandler):Void

@:final @:overload add_UnhandledException (value:UnhandledExceptionEventHandler):Void

@:final @:overload remove_AssemblyLoad (value:AssemblyLoadEventHandler):Void

@:final @:overload remove_AssemblyResolve (value:ResolveEventHandler):Void

@:final @:overload remove_DomainUnload (value:EventHandler):Void

@:final @:overload remove_ProcessExit (value:EventHandler):Void

@:final @:overload remove_ReflectionOnlyAssemblyResolve (value:ResolveEventHandler):Void

@:final @:overload remove_ResourceResolve (value:ResolveEventHandler):Void

@:final @:overload remove_TypeResolve (value:ResolveEventHandler):Void

@:final @:overload remove_UnhandledException (value:UnhandledExceptionEventHandler):Void

Static variables

static read only CurrentDomain:AppDomain

Static methods

@:final @:overload static CreateDomain (friendlyName:String):AppDomain

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

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

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

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

@:final @:overload static CreateDomain (friendlyName:String, securityInfo:Evidence):AppDomain

@:final @:overload static GetCurrentThreadId ():Int

@:final @:overload static Unload (domain:AppDomain):Void

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