Skip to content

Commit f9285cf

Browse files
authored
Update AppDomain.xml (#11028)
1 parent 0a42a00 commit f9285cf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

xml/System/AppDomain.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@
9494
Application domains, which are represented by <xref:System.AppDomain> objects, help provide isolation, unloading, and security boundaries for executing managed code.
9595

9696
- Use application domains to isolate tasks that might bring down a process. If the state of the <xref:System.AppDomain> that's executing a task becomes unstable, the <xref:System.AppDomain> can be unloaded without affecting the process. This is important when a process must run for long periods without restarting. You can also use application domains to isolate tasks that should not share data.
97-
9897
- If an assembly is loaded into the default application domain, it cannot be unloaded from memory while the process is running. However, if you open a second application domain to load and execute the assembly, the assembly is unloaded when that application domain is unloaded. Use this technique to minimize the working set of long-running processes that occasionally use large DLLs.
9998

10099
> [!NOTE]
@@ -5886,9 +5885,8 @@ This method overload uses the <xref:System.AppDomainSetup> information from the
58865885
<format type="text/markdown"><![CDATA[
58875886

58885887
## Remarks
5889-
The friendly name of the default application domain is the file name of the process executable. For example, if the executable used to start the process is `"c:\MyAppDirectory\MyAssembly.exe"`, the friendly name of the default application domain is `"MyAssembly.exe"`.
5890-
58915888

5889+
The friendly name of the default application domain is the file name of the process executable. For example, if the executable used to start the process is `"c:\MyAppDirectory\MyAssembly.exe"`, the friendly name of the default application domain is `"MyAssembly.exe"`. (In .NET Core and .NET 5+, the friendly name doesn't include the file extension.)
58925890

58935891
## Examples
58945892
The following code example uses the <xref:System.AppDomain.FriendlyName%2A> property to get the friendly name of the current application domain. For the default application domain, the friendly name is the name of the application's executable file. The code example also displays additional information about the application domain.

0 commit comments

Comments
 (0)