Application domains are used to isolate multiple applications on a single Mono virtual machine. They are conceptually similiar to processes, the difference is that processes are managed by the operating system, while application domains are managed by the Mono virtual machine.
For more information on applications domains see the AppDomain FAQ.
The MonoDomain is the unmanaged representation of the System.AppDomain managed type, while the MonoAppDomain type represents the managed version (MonoAppDomain has a pointer to a MonoDomain).
Parameters
Remarksdomain: the application domain name: file name of the assembly
fixme: maybe we should integrate this with mono_assembly_open ??
Parameters
Returnsdomain: the domain to finalize timeout: msects to wait for the finalization to complete, -1 to wait indefinitely
TRUE if succeeded, FALSE if there was a timeoutRemarks
Request finalization of all finalizable objects inside domain. Wait timeout msecs for the finalization to complete.
Parameters
Returnsdomainid: the ID
the a domain for a specific domain id.
Returns
the current domain, to obtain the root domain use mono_get_root_domain().
Parameters
Remarksdomain: application domains being looked up
Returns true if the AppDomain.TypeResolve field has been set.
Parameters
Remarksdomain: the new domain
Sets the current domain to domain.
Parameters
Returnsdomain: domain force: force setting.
TRUE on success; FALSE if the domain is unloadedRemarks
Set the current appdomain to domain. If force is set, set it even if it is being unloaded.
Parameters
Returnsdomain: application domainwhere the name where the type is going to be resolved name: the name of the type to resolve or NULL. tb: A System.Reflection.Emit.TypeBuilder, used if name is NULL.
A MonoReflectionAssembly or NULL if not foundRemarks
This routine invokes the internal System.AppDomain.DoTypeResolve and returns the assembly that matches name. If name is null, the value of ((TypeBuilder)tb).FullName is used instead
Remarks
Returns whenever VTABLE_SLOT is inside a vtable which belongs to DOMAIN.