Imported Upstream version 5.2.0.175

Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-06-07 13:16:24 +00:00
parent 4bdbaf4a88
commit 966bba02bb
8776 changed files with 346420 additions and 149650 deletions

View File

@@ -202,43 +202,6 @@ typedef struct _MonoDomain MonoDomain;
/* Represents System.Runtime.Remoting.Contexts.Context */
typedef struct _MonoAppContext MonoAppContext
MonoAssembly* <a href="#api:mono_domain_assembly_open">mono_domain_assembly_open</a> (MonoDomain *domain,
const char *name);
MonoDomain* <a href="#api:mono_domain_create">mono_domain_create</a> (void);
MonoDomain* <a href="#api:mono_domain_create_appdomain">mono_domain_create_appdomain</a> (char *friendly_name,
char *configuration_file);
gboolean <a href="#api:mono_domain_finalize">mono_domain_finalize</a> (MonoDomain *domain,
guint32 timeout) ;
void <a href="#api:mono_domain_foreach">mono_domain_foreach</a> (MonoDomainFunc func,
gpointer user_data);
void <a href="#api:mono_domain_free">mono_domain_free</a> (MonoDomain *domain,
gboolean force);
<a href="#api:mono_domain_from_appdomain">mono_domain_from_appdomain</a>
MonoDomain* <a href="#api:mono_domain_get_by_id">mono_domain_get_by_id</a> (gint32 domainid) ;
<a href="#api:mono_domain_get_friendly_name">mono_domain_get_friendly_name</a>
<a href="#api:mono_domain_get_id">mono_domain_get_id</a>
MonoDomain* <a href="#api:mono_domain_get">mono_domain_get</a> ();
gboolean <a href="#api:mono_domain_has_type_resolve">mono_domain_has_type_resolve</a> (MonoDomain *domain);
<a href="#api:mono_domain_is_unloading">mono_domain_is_unloading</a>
gboolean <a href="#api:mono_domain_owns_vtable_slot">mono_domain_owns_vtable_slot</a> (MonoDomain *domain,
gpointer vtable_slot);
void <a href="#api:mono_domain_set_config">mono_domain_set_config</a> (MonoDomain *domain,
const char *base_dir,
const char *config_file_name);
void <a href="#api:mono_domain_set_internal">mono_domain_set_internal</a> (MonoDomain *domain);
gboolean <a href="#api:mono_domain_set">mono_domain_set</a> (MonoDomain *domain,
gboolean force);
MonoReflectionAssembly* <a href="#api:mono_domain_try_type_resolve">mono_domain_try_type_resolve</a> (MonoDomain *domain,
char *name,
MonoObject *tb);
<a href="#api:mono_domain_try_unload">mono_domain_try_unload</a>
<a href="#api:mono_domain_unload">mono_domain_unload</a>
void <a href="#api:mono_context_init">mono_context_init</a> (MonoDomain *domain);
MonoAppContext* <a href="#api:mono_context_get">mono_context_get</a> (void);
gint32 <a href="#api:mono_context_get_domain_id">mono_context_get_domain_id</a> (MonoAppContext *context);
gint32 <a href="#api:mono_context_get_id">mono_context_get_id</a> (MonoAppContext *context);
<a href="#api:mono_context_set">mono_context_set</a>
<a href="#api:mono_context_get_desc">mono_context_get_desc</a>
</div>
@@ -271,10 +234,7 @@ mono_domain_assembly_open (MonoDomain *domain, const char *name)
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i><td> the application domain</td></td></tr><tr><td><i>name</i><td> file name of the assembly</td></td></tr></tbody></table> <div class="mapi-section">Description</div>
<div> <p />
fixme: maybe we should integrate this with mono_assembly_open ??</div>
</div><!--mapi-description -->
<table class="mapi-parameters"><tbody><tr><td><i>domain</i></td><td> the application domain</td></tr><tr><td><i>name</i></td><td> file name of the assembly</td></tr></tbody></table> </div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -293,26 +253,11 @@ mono_domain_create (void)
</div>
<p />
<div class="mapi-section">Return value</div>
<div> New initialized MonoDomain, with no configuration or assemblies
<div> New initialized <code>MonoDomain</code>, with no configuration or assemblies
loaded into it.</div>
<div class="mapi-section">Description</div>
<div> <p />
Creates a new application domain, the unmanaged representation
of the actual domain. Usually you will want to create the
<p />
Application domains provide an isolation facilty for assemblies. You
can load assemblies and execute code in them that will not be visible
to other application domains. This is a runtime-based virtualization
technology.
<p />
It is possible to unload domains, which unloads the assemblies and
data that was allocated in that domain.
<p />
When a domain is created a mempool is allocated for domain-specific
structures, along a dedicated code manager to hold code that is
associated with the domain.
<p /></div>
<div> <p /> Creates a new application domain, the unmanaged representation of the actual domain. <p /> Application domains provide an isolation facilty for assemblies. You can load assemblies and execute code in them that will not be visible to other application domains. This is a runtime-based virtualization technology. <p /> It is possible to unload domains, which unloads the assemblies and data that was allocated in that domain. <p /> When a domain is created a mempool is allocated for domain-specific structures, along a dedicated code manager to hold code that is associated with the domain. <p /></div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -332,9 +277,9 @@ mono_domain_create_appdomain (char *friendly_name, char *configuration_file)
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>friendly_name</i><td> The friendly name of the appdomain to create</td></td></tr><tr><td><i>configuration_file</i><td> The configuration file to initialize the appdomain with</td></td></tr></tbody></table> <div class="mapi-section">Description</div>
<div> <p />
Returns a MonoDomain initialized with the appdomain</div>
<table class="mapi-parameters"><tbody><tr><td><i>friendly_name</i></td><td> The friendly name of the appdomain to create</td></tr><tr><td><i>configuration_file</i></td><td> The configuration file to initialize the appdomain with</td></tr></tbody></table> <div class="mapi-section">Return value</div>
<div> a <code>MonoDomain</code> initialized with the appdomain
</div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -348,21 +293,17 @@ mono_domain_create_appdomain (char *friendly_name, char *configuration_file)
<div class="mapi-ptr"></div>
<div class="mapi-declaration mapi-section">Syntax</div>
<div class="mapi-prototype">
gboolean
<div class="mapi-prototype">gboolean
mono_domain_finalize (MonoDomain *domain, guint32 timeout)
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i><td> the domain to finalize</td></td></tr><tr><td><i>timeout</i><td> msects to wait for the finalization to complete, -1 to wait indefinitely</td></td></tr></tbody></table> <div class="mapi-section">Return value</div>
<div> <code>TRUE</code> if succeeded, <code>FALSE</code> if there was a timeout
<table class="mapi-parameters"><tbody><tr><td><i>domain</i></td><td> the domain to finalize</td></tr><tr><td><i>timeout</i></td><td> msecs to wait for the finalization to complete, <code>-1</code> to wait indefinitely</td></tr></tbody></table> <div class="mapi-section">Return value</div>
<div> <code>TRUE</code> if succeeded, <code>FALSE</code> if there was a timeout
</div>
<div class="mapi-section">Description</div>
<div> <p />
Request finalization of all finalizable objects inside <i>domain</i>. Wait
<i>timeout</i> msecs for the finalization to complete.
<p /></div>
<div> <p /> Request finalization of all finalizable objects inside <i>domain</i>. Wait <i>timeout</i> msecs for the finalization to complete. <p /></div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -382,12 +323,8 @@ mono_domain_foreach (MonoDomainFunc func, gpointer user_data)
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>func</i><td> function to invoke with the domain data</td></td></tr><tr><td><i>user_data</i><td> user-defined pointer that is passed to the supplied <i>func</i> fo reach domain</td></td></tr></tbody></table> <div class="mapi-section">Description</div>
<div> <p />
Use this method to safely iterate over all the loaded application
domains in the current runtime. The provided <i>func</i> is invoked with a
pointer to the MonoDomain and is given the value of the <i>user_data</i>
parameter which can be used to pass state to your called routine.</div>
<table class="mapi-parameters"><tbody><tr><td><i>func</i></td><td> function to invoke with the domain data</td></tr><tr><td><i>user_data</i></td><td> user-defined pointer that is passed to the supplied <i>func</i> fo reach domain</td></tr></tbody></table> <div class="mapi-section">Description</div>
<div> <p /> Use this method to safely iterate over all the loaded application domains in the current runtime. The provided <i>func</i> is invoked with a pointer to the <code>MonoDomain</code> and is given the value of the <i>user_data</i> parameter which can be used to pass state to your called routine.</div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -407,11 +344,8 @@ mono_domain_free (MonoDomain *domain, gboolean force)
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i><td> the domain to release</td></td></tr><tr><td><i>force</i><td> if true, it allows the root domain to be released (used at shutdown only).</td></td></tr></tbody></table> <div class="mapi-section">Description</div>
<div> <p />
This releases the resources associated with the specific domain.
This is a low-level function that is invoked by the AppDomain infrastructure
when necessary.</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i></td><td> the domain to release</td></tr><tr><td><i>force</i></td><td> if <code>TRUE</code>, it allows the root domain to be released (used at shutdown only).</td></tr></tbody></table> <div class="mapi-section">Description</div>
<div> <p /> This releases the resources associated with the specific domain. This is a low-level function that is invoked by the AppDomain infrastructure when necessary.</div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -425,7 +359,10 @@ mono_domain_free (MonoDomain *domain, gboolean force)
<div class="mapi-ptr"></div>
<div class="mapi-declaration mapi-section">Syntax</div>
<div class="mapi-prototype">mono_domain_from_appdomain</div>
<div class="mapi-prototype">MonoDomain*
mono_domain_from_appdomain (MonoAppDomain *appdomain_raw)
</div>
<p />
</div><!--mapi-description -->
</div><!--height container -->
@@ -446,11 +383,9 @@ mono_domain_get_by_id (gint32 domainid)
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>domainid</i><td> the ID</td></td></tr></tbody></table> <div class="mapi-section">Return value</div>
<div> the domain for a specific domain id.
<table class="mapi-parameters"><tbody><tr><td><i>domainid</i></td><td> the ID</td></tr></tbody></table> <div class="mapi-section">Return value</div>
<div> the domain for a specific domain id.
</div>
<div class="mapi-section">Description</div>
<div> <p /> </div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -464,8 +399,16 @@ mono_domain_get_by_id (gint32 domainid)
<div class="mapi-ptr"></div>
<div class="mapi-declaration mapi-section">Syntax</div>
<div class="mapi-prototype">mono_domain_get_friendly_name</div>
<div class="mapi-prototype">const char *
mono_domain_get_friendly_name (MonoDomain *domain)
</div>
<p />
<div class="mapi-section">Return value</div>
<div> The friendly name of <i>domain</i>. Can be <code>NULL</code> if not yet set.
</div>
<div class="mapi-section">Description</div>
<div> <p /> The returned string's lifetime is the same as <i>domain</i>'s. Consider copying it if you need to store it somewhere. <p /></div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -479,8 +422,16 @@ mono_domain_get_by_id (gint32 domainid)
<div class="mapi-ptr"></div>
<div class="mapi-declaration mapi-section">Syntax</div>
<div class="mapi-prototype">mono_domain_get_id</div>
<div class="mapi-prototype">gint32
mono_domain_get_id (MonoDomain *domain)
</div>
<p />
<div class="mapi-section">Return value</div>
<div> The unique ID for <i>domain</i>.
</div>
<div class="mapi-section">Description</div>
<div> <p /> A domain ID is guaranteed to be unique for as long as the domain using it is alive. It may be reused later once the domain has been unloaded. <p /></div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -500,14 +451,10 @@ mono_domain_get ()
</div>
<p />
<div class="mapi-section">Return value</div>
<div> the current domain
<div> the current domain
</div>
<div class="mapi-section">Description</div>
<div> <p />
This method returns the value of the current MonoDomain that this thread
and code are running under. To obtain the root domain use
mono_get_root_domain() API.
<p /></div>
<div> <p /> This method returns the value of the current <code>MonoDomain</code> that this thread and code are running under. To obtain the root domain use <code>mono_get_root_domain</code> API. <p /></div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -527,12 +474,11 @@ mono_domain_has_type_resolve (MonoDomain *domain)
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i><td> application domains being looked up</td></td></tr></tbody></table> <div class="mapi-section">Return value</div>
<div> <code>TRUE</code> if the AppDomain.TypeResolve field has been
set.</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i></td><td> application domain being looked up</td></tr></tbody></table> <div class="mapi-section">Return value</div>
<div> <code>TRUE</code> if the <code>AppDomain.TypeResolve</code> field has been set.
</div>
<div class="mapi-section">Description</div>
<div> <p /> </div>
<div> <p /></div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -546,7 +492,10 @@ mono_domain_has_type_resolve (MonoDomain *domain)
<div class="mapi-ptr"></div>
<div class="mapi-declaration mapi-section">Syntax</div>
<div class="mapi-prototype">mono_domain_is_unloading</div>
<div class="mapi-prototype">gboolean
mono_domain_is_unloading (MonoDomain *domain)
</div>
<p />
</div><!--mapi-description -->
</div><!--height container -->
@@ -566,9 +515,9 @@ mono_domain_owns_vtable_slot (MonoDomain *domain, gpointer vtable_slot)
</div>
<p />
<div class="mapi-section">Description</div>
<div> <p />
Returns whenever VTABLE_SLOT is inside a vtable which belongs to DOMAIN.</div>
<div class="mapi-section">Return value</div>
<div> Whether <i>vtable_slot</i> is inside a vtable which belongs to <i>domain</i>.
</div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -588,13 +537,8 @@ mono_domain_set_config (MonoDomain *domain, const char *base_dir, const char *co
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i><td> MonoDomain initialized with the appdomain we want to change</td></td></tr><tr><td><i>base_dir</i><td> new base directory for the appdomain</td></td></tr><tr><td><i>config_file_name</i><td> path to the new configuration for the app domain</td></td></tr></tbody></table> <div class="mapi-section">Description</div>
<div> <p />
Used to set the system configuration for an appdomain
<p />
Without using this, embedded builds will get 'System.Configuration.ConfigurationErrorsException:
Error Initializing the configuration system. ---&gt; System.ArgumentException:
The 'ExeConfigFilename' argument cannot be null.' for some managed calls.</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i></td><td> <code>MonoDomain</code> initialized with the appdomain we want to change</td></tr><tr><td><i>base_dir</i></td><td> new base directory for the appdomain</td></tr><tr><td><i>config_file_name</i></td><td> path to the new configuration for the app domain</td></tr></tbody></table> <div class="mapi-section">Description</div>
<div> <p /> Used to set the system configuration for an appdomain <p /> Without using this, embedded builds will get 'System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. ---&gt; System.ArgumentException: The 'ExeConfigFilename' argument cannot be null.' for some managed calls.</div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -614,9 +558,8 @@ mono_domain_set_internal (MonoDomain *domain)
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i><td> the new domain</td></td></tr></tbody></table> <div class="mapi-section">Description</div>
<div> <p />
Sets the current domain to <i>domain</i>.</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i></td><td> the new domain</td></tr></tbody></table> <div class="mapi-section">Description</div>
<div> <p /> Sets the current domain to <i>domain</i>.</div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -636,16 +579,11 @@ mono_domain_set (MonoDomain *domain, gboolean force)
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i><td> domain</td></td></tr><tr><td><i>force</i><td> force setting.</td></td></tr></tbody></table> <div class="mapi-section">Return value</div>
<div>
<code>TRUE</code> on success;
<code>FALSE</code> if the domain is unloaded</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i></td><td> domain</td></tr><tr><td><i>force</i></td><td> force setting.</td></tr></tbody></table> <div class="mapi-section">Return value</div>
<div> <code>TRUE</code> on success; <code>FALSE</code> if the domain is unloaded
</div>
<div class="mapi-section">Description</div>
<div> <p />
Set the current appdomain to <i>domain</i>. If <i>force</i> is set, set it even
if it is being unloaded.
<p /></div>
<div> <p /> Set the current appdomain to <i>domain</i>. If <i>force</i> is set, set it even if it is being unloaded. <p /></div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -665,16 +603,11 @@ mono_domain_try_type_resolve (MonoDomain *domain, char *name, MonoObject *tb)
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i><td> application domainwhere the name where the type is going to be resolved</td></td></tr><tr><td><i>name</i><td> the name of the type to resolve or <code>NULL</code>.</td></td></tr><tr><td><i>tb</i><td> A System.Reflection.Emit.TypeBuilder, used if name is <code>NULL</code>.</td></td></tr></tbody></table> <div class="mapi-section">Return value</div>
<div> A MonoReflectionAssembly or <code>NULL</code> if not found
<table class="mapi-parameters"><tbody><tr><td><i>domain</i></td><td> application domainwhere the name where the type is going to be resolved</td></tr><tr><td><i>name</i></td><td> the name of the type to resolve or <code>NULL</code>.</td></tr><tr><td><i>tb</i></td><td> A <code>System.Reflection.Emit.TypeBuilder</code>, used if name is <code>NULL</code>.</td></tr></tbody></table> <div class="mapi-section">Return value</div>
<div> A <code>MonoReflectionAssembly</code> or <code>NULL</code> if not found
</div>
<div class="mapi-section">Description</div>
<div> <p />
This routine invokes the internal System.AppDomain.DoTypeResolve and returns
the assembly that matches name.
<p />
If <i>name</i> is null, the value of ((TypeBuilder)tb).FullName is used instead
<p /></div>
<div> <p /> This routine invokes the internal <code>System.AppDomain.DoTypeResolve</code> and returns the assembly that matches name. <p /> If <i>name</i> is null, the value of <code>((TypeBuilder)tb).FullName</code> is used instead <p /></div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -703,8 +636,14 @@ mono_domain_try_type_resolve (MonoDomain *domain, char *name, MonoObject *tb)
<div class="mapi-ptr"></div>
<div class="mapi-declaration mapi-section">Syntax</div>
<div class="mapi-prototype">mono_domain_unload</div>
<div class="mapi-prototype">void
mono_domain_try_unload (MonoDomain *domain, MonoObject **exc)
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i></td><td> The domain to unload</td></tr><tr><td><i>exc</i></td><td> Exception information</td></tr></tbody></table> <div class="mapi-section">Description</div>
<div> <p /> Unloads an appdomain. Follows the process outlined in: http://blogs.gotdotnet.com/cbrumme <p /> If doing things the 'right' way is too hard or complex, we do it the 'simple' way, which means do everything needed to avoid crashes and memory leaks, but not much else. <p /> It is required to pass a valid reference to the exc argument, upon return from this function *exc will be set to the exception thrown, if any. <p /> If this method is not called from an icall (embedded scenario for instance), it must not be called with any managed frames on the stack, since the unload process could end up trying to abort the current thread.</div>
</div><!--mapi-description -->
</div><!--height container -->
@@ -727,9 +666,8 @@ mono_context_init (MonoDomain *domain)
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i><td> The domain where the System.Runtime.Remoting.Context.Context is initialized</td></td></tr></tbody></table> <div class="mapi-section">Description</div>
<div> <p />
Initializes the <i>domain</i>'s default System.Runtime.Remoting's Context.</div>
<table class="mapi-parameters"><tbody><tr><td><i>domain</i></td><td> The domain where the <code>System.Runtime.Remoting.Context.Context</code> is initialized</td></tr></tbody></table> <div class="mapi-section">Description</div>
<div> Initializes the <i>domain</i>'s default <code>System.Runtime.Remoting</code> 's Context.</div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -749,10 +687,10 @@ mono_context_get (void)
</div>
<p />
<div class="mapi-section">Return value</div>
<div> the current Mono Application Context.
<div> the current Mono Application Context.
</div>
<div class="mapi-section">Description</div>
<div> <p /> </div>
<div> <p /></div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -772,11 +710,9 @@ mono_context_get_domain_id (MonoAppContext *context)
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>context</i><td> the context to operate on.</td></td></tr></tbody></table> <div class="mapi-section">Return value</div>
<div> The ID of the domain that <i>context</i> was created in.
<table class="mapi-parameters"><tbody><tr><td><i>context</i></td><td> the context to operate on.</td></tr></tbody></table> <div class="mapi-section">Return value</div>
<div> The ID of the domain that <i>context</i> was created in.
</div>
<div class="mapi-section">Description</div>
<div> <p /> </div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -796,14 +732,11 @@ mono_context_get_id (MonoAppContext *context)
</div>
<p />
<div class="mapi-section">Parameters</div>
<table class="mapi-parameters"><tbody><tr><td><i>context</i><td> the context to operate on.</td></td></tr></tbody></table> <div class="mapi-section">Return value</div>
<div> The unique ID for <i>context</i>.
<table class="mapi-parameters"><tbody><tr><td><i>context</i></td><td> the context to operate on.</td></tr></tbody></table> <div class="mapi-section">Return value</div>
<div> The unique ID for <i>context</i>.
</div>
<div class="mapi-section">Description</div>
<div> <p />
Context IDs are guaranteed to be unique for the duration of a Mono
process; they are never reused.
<p /></div>
<div> <p /> Context IDs are guaranteed to be unique for the duration of a Mono process; they are never reused. <p /></div>
</div><!--mapi-description -->
</div><!--height container -->
</div> <!-- class=mapi -->
@@ -817,10 +750,10 @@ mono_context_get_id (MonoAppContext *context)
<div class="mapi-ptr"></div>
<div class="mapi-declaration mapi-section">Syntax</div>
<div class="mapi-prototype">mono_context_set</div>
<div class="mapi-prototype">void
mono_context_set (MonoAppContext * new_context)
</div>
<p />
</div><!--mapi-description -->
</div><!--height container -->
</div>
</div></body>
</html>