[btls] Pass CC and CXX to the BTLS CMake and disable BTLS on older GCC (#4200)
[mono-project.git] / docs / sources / mono-api-domains.html
blobceef8893bf50542b9818ab85c0dd4a82e170f797
1 <h2>Application Domains</h2>
3 <h3>Synopsis</h3>
5 <div class="mapi-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_create_appdomain">mono_domain_create_appdomain</a></h4>
38 <h4><a name="api:mono_domain_finalize">mono_domain_finalize</a></h4>
39 <h4><a name="api:mono_domain_foreach">mono_domain_foreach</a></h4>
40 <h4><a name="api:mono_domain_free">mono_domain_free</a></h4>
41 <h4><a name="api:mono_domain_from_appdomain">mono_domain_from_appdomain</a></h4>
42 <h4><a name="api:mono_domain_get_by_id">mono_domain_get_by_id</a></h4>
43 <h4><a name="api:mono_domain_get_friendly_name">mono_domain_get_friendly_name</a></h4>
44 <h4><a name="api:mono_domain_get_id">mono_domain_get_id</a></h4>
45 <h4><a name="api:mono_domain_get">mono_domain_get</a></h4>
46 <h4><a name="api:mono_domain_has_type_resolve">mono_domain_has_type_resolve</a></h4>
47 <h4><a name="api:mono_domain_is_unloading">mono_domain_is_unloading</a></h4>
48 <h4><a name="api:mono_domain_owns_vtable_slot">mono_domain_owns_vtable_slot</a></h4>
49 <h4><a name="api:mono_domain_set_config">mono_domain_set_config</a></h4>
50 <h4><a name="api:mono_domain_set_internal">mono_domain_set_internal</a></h4>
51 <h4><a name="api:mono_domain_set">mono_domain_set</a></h4>
52 <h4><a name="api:mono_domain_try_type_resolve">mono_domain_try_type_resolve</a></h4>
53 <h4><a name="api:mono_domain_try_unload">mono_domain_try_unload</a></h4>
54 <h4><a name="api:mono_domain_unload">mono_domain_unload</a></h4>
56 <h3>Contexts</h3>
58 <h4><a name="api:mono_context_init">mono_context_init</a></h4>
59 <h4><a name="api:mono_context_get">mono_context_get</a></h4>
60 <h4><a name="api:mono_context_get_domain_id">mono_context_get_domain_id</a></h4>
61 <h4><a name="api:mono_context_get_id">mono_context_get_id</a></h4>
62 <h4><a name="api:mono_context_set">mono_context_set</a></h4>
63 <h4><a name="api:mono_context_get_desc">mono_context_get_desc</a></h4>