Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

_AppDomain Interface

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

Class Description
AppDomain Represents an application domain, which is an isolated environment where applications execute. This class cannot be inherited.

Remarks

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.

Application domains are created using the CreateDomain method. AppDomain instances are used to load and execute assemblies (Assembly). When a AppDomain is no longer in use, it can be unloaded.

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.

Requirements

Namespace: System

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)

See Also

_AppDomain Members | System Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.