Really fix the previous sdb changes.
[mono-project/dkf.git] / docs / sources / mono-api-domains.html
blob9fa625ecd95f79bb7c4362f3741a9b9751659ae5
1 <h2>Application Domains</h2>
3 <h3>Synopsis</h3>
5 <div class="header">
6 #include &lt;metadata/appdomain.h&gt;
8 /* Managed AppDomain */
9 typedef struct _MonoAppDomain MonoAppDomain;
11 /* Unmanaged representation */
12 typedef struct _MonoDomain MonoDomain;
14 /* Represents System.Runtime.Remoting.Contexts.Context */
15 typedef struct _MonoAppContext MonoAppContext
16 @API_IDX@
17 </div>
19 <p>Application domains are used to isolate multiple
20 applications on a single Mono virtual machine. They are
21 conceptually similiar to processes, the difference is that
22 processes are managed by the operating system, while
23 application domains are managed by the Mono virtual machine.
25 <p>For more information on applications domains see the <a
26 href="http://www.gotdotnet.com/team/clr/AppdomainFAQ.aspx">AppDomain FAQ</a>.
28 <p>The <tt>MonoDomain</tt> is the unmanaged representation of
29 the <a
30 href="http://www.mono-project.com/monodoc/T:System.AppDomain">System.AppDomain</a>
31 managed type, while the <tt>MonoAppDomain</tt> type represents
32 the managed version (<tt>MonoAppDomain</tt> has a pointer to
33 a <tt>MonoDomain</tt>).
35 <h4><a name="api:mono_domain_assembly_open">mono_domain_assembly_open</a></h4>
36 <h4><a name="api:mono_domain_create">mono_domain_create</a></h4>
37 <h4><a name="api:mono_domain_finalize">mono_domain_finalize</a></h4>
38 <h4><a name="api:mono_domain_foreach">mono_domain_foreach</a></h4>
39 <h4><a name="api:mono_domain_free">mono_domain_free</a></h4>
40 <h4><a name="api:mono_domain_get_by_id">mono_domain_get_by_id</a></h4>
41 <h4><a name="api:mono_domain_get_id">mono_domain_get_id</a></h4>
42 <h4><a name="api:mono_domain_get">mono_domain_get</a></h4>
43 <h4><a name="api:mono_domain_has_type_resolve">mono_domain_has_type_resolve</a></h4>
44 <h4><a name="api:mono_domain_is_unloading">mono_domain_is_unloading</a></h4>
45 <h4><a name="api:mono_domain_set_internal">mono_domain_set_internal</a></h4>
46 <h4><a name="api:mono_domain_set">mono_domain_set</a></h4>
47 <h4><a name="api:mono_domain_try_type_resolve">mono_domain_try_type_resolve</a></h4>
48 <h4><a name="api:mono_domain_owns_vtable_slot">mono_domain_owns_vtable_slot</a></h4>
50 <h3>Contexts</h3>
52 <h4><a name="api:mono_context_get">mono_context_get</a></h4>
53 <h4><a name="api:mono_context_set">mono_context_set</a></h4>