1 <?xml version="1.0" encoding="utf-8"?><span>
4 <name>System.AppContext</name>
7 <member name="T:System.AppContext">
8 <summary>Provides members for setting and retrieving data about an application's context.</summary>
10 <member name="P:System.AppContext.BaseDirectory">
11 <summary>Gets the pathname of the base directory that the assembly resolver uses to probe for assemblies.</summary>
12 <returns>the pathname of the base directory that the assembly resolver uses to probe for assemblies.</returns>
14 <member name="M:System.AppContext.GetData(System.String)">
15 <summary>Returns the value of the named data element assigned to the current application domain.</summary>
16 <param name="name">The name of the data element.</param>
17 <returns>The value of <paramref name="name">name</paramref>, if <paramref name="name">name</paramref> identifies a named value; otherwise, null.</returns>
19 <member name="M:System.AppContext.SetSwitch(System.String,System.Boolean)">
20 <summary>Sets the value of a switch.</summary>
21 <param name="switchName">The name of the switch.</param>
22 <param name="isEnabled">The value of the switch.</param>
23 <exception cref="T:System.ArgumentNullException"><paramref name="switchName">switchName</paramref> is null.</exception>
24 <exception cref="T:System.ArgumentException"><paramref name="switchName">switchName</paramref> is <see cref="F:System.String.Empty"></see>.</exception>
26 <member name="P:System.AppContext.TargetFrameworkName">
27 <summary>Gets the name of the framework version targeted by the current application.</summary>
28 <returns>The name of the framework version targeted by the current application.</returns>
30 <member name="M:System.AppContext.TryGetSwitch(System.String,System.Boolean@)">
31 <summary>Tries to get the value of a switch.</summary>
32 <param name="switchName">The name of the switch.</param>
33 <param name="isEnabled">When this method returns, contains the value of switchName if switchName was found, or false if switchName was not found. This parameter is passed uninitialized.</param>
34 <returns>true if <paramref name="switchName">switchName</paramref> was set and the <paramref name="isEnabled">isEnabled</paramref> argument contains the value of the switch; otherwise, false.</returns>
35 <exception cref="T:System.ArgumentNullException"><paramref name="switchName">switchName</paramref> is null.</exception>
36 <exception cref="T:System.ArgumentException"><paramref name="switchName">switchName</paramref> is <see cref="F:System.String.Empty"></see>.</exception>