AppDomain Class

Windows Automotive 5.0/5.5
Represents an application domain, which is an isolated environment in which applications run.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

public sealed class AppDomain : MarshalByRefObject

Application domains, which are represented by AppDomain objects, help provide isolation, unloading, and security boundaries for executing managed code.

Multiple application domains can run in a single process, but there is not a one-to-one correlation between application domains and threads. Several threads can belong to a single application domain. Note, however, that although a given thread is not confined to a single application domain, it can run in only one application domain at a time.

The AppDomain class cannot be inherited.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

Community Additions

ADD
Show: