Represents an application domain, which is an isolated environment where applications execute.
For a list of all members of this type, see _AppDomain Members.
[Visual Basic] <CLSCompliant(False)> <Guid("05F696DC-2B29-3663-AD8B-C4389CF2A713")> <InterfaceType(ComInterfaceType.InterfaceIsDual)> Public Interface _AppDomain [C#] [CLSCompliant(false)] [Guid("05F696DC-2B29-3663-AD8B-C4389CF2A713")] [InterfaceType(ComInterfaceType.InterfaceIsDual)] public interface _AppDomain [C++] [CLSCompliant(false)] [Guid("05F696DC-2B29-3663-AD8B-C4389CF2A713")] [InterfaceType(ComInterfaceType::InterfaceIsDual)] public __gc __interface _AppDomain [JScript] public CLSCompliant(false) Guid("05F696DC-2B29-3663-AD8B-C4389CF2A713") InterfaceType(ComInterfaceType.InterfaceIsDual) interface _AppDomain
Classes that Implement _AppDomain
|AppDomain||Represents an application domain, which is an isolated environment where applications execute. This class cannot be inherited.|
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; however, there is not a one-to-one correlation between application domains and threads. Several threads can belong to a single application domain, and while a given thread is not confined to a single application domain, at any given time, a thread executes in a single application domain.
The _AppDomain interface implements a set of events to enable applications to respond when an assembly is loaded, an application domain will be unloaded, or an unhandled exception is thrown.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)