1 <?xml version="1.0" encoding="utf-8"?>
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.SetSwitch(System.String,System.Boolean)">
15 <summary>Sets the value of a switch. </summary>
16 <param name="switchName">The name of the switch. </param>
17 <param name="isEnabled">The value of the switch. </param>
18 <exception cref="T:System.ArgumentNullException">
19 <paramref name="switchName" /> is null. </exception>
20 <exception cref="T:System.ArgumentException">
21 <paramref name="switchName" /> is <see cref="F:System.String.Empty" />. </exception>
23 <member name="M:System.AppContext.TryGetSwitch(System.String,System.Boolean@)">
24 <summary>Trues to get the value of a switch. </summary>
25 <returns>true if <paramref name="switchName" /> was set and the <paramref name="isEnabled" /> argument contains the value of the switch; otherwise, false. </returns>
26 <param name="switchName">The name of the switch. </param>
27 <param name="isEnabled">When this method returns, contains the value of <paramref name="switchName" /> if <paramref name="switchName" /> was found, or false if <paramref name="switchName" /> was not found. This parameter is passed uninitialized. </param>
28 <exception cref="T:System.ArgumentNullException">
29 <paramref name="switchName" /> is null. </exception>
30 <exception cref="T:System.ArgumentException">
31 <paramref name="switchName" /> is <see cref="F:System.String.Empty" />. </exception>