_AppDomain Interface (System)

Switch View :
ScriptFree
.NET Framework Class Library
_AppDomain Interface

Exposes the public members of the System.AppDomain class to unmanaged code.

This API is not CLS-compliant. 

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

Visual Basic
<GuidAttribute("05F696DC-2B29-3663-AD8B-C4389CF2A713")> _
<CLSCompliantAttribute(False)> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<ComVisibleAttribute(True)> _
Public Interface _AppDomain
C#
[GuidAttribute("05F696DC-2B29-3663-AD8B-C4389CF2A713")]
[CLSCompliantAttribute(false)]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
public interface _AppDomain
Visual C++
[GuidAttribute(L"05F696DC-2B29-3663-AD8B-C4389CF2A713")]
[CLSCompliantAttribute(false)]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
public interface class _AppDomain
F#
[<GuidAttribute("05F696DC-2B29-3663-AD8B-C4389CF2A713")>]
[<CLSCompliantAttribute(false)>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<ComVisibleAttribute(true)>]
type _AppDomain =  interface end

The _AppDomain type exposes the following members.

Properties

  Name Description
Public property BaseDirectory Provides COM objects with version-independent access to the AppDomain.BaseDirectory property.
Public property DynamicDirectory Provides COM objects with version-independent access to the AppDomain.DynamicDirectory property.
Public property Evidence Provides COM objects with version-independent access to the AppDomain.Evidence property.
Public property FriendlyName Provides COM objects with version-independent access to the AppDomain.FriendlyName property.
Public property RelativeSearchPath Provides COM objects with version-independent access to the AppDomain.RelativeSearchPath property.
Public property ShadowCopyFiles Provides COM objects with version-independent access to the AppDomain.ShadowCopyFiles property.
Top
Methods

  Name Description
Public method AppendPrivatePath Provides COM objects with version-independent access to the AppDomain.AppendPrivatePath method.
Public method ClearPrivatePath Provides COM objects with version-independent access to the AppDomain.ClearPrivatePath method.
Public method ClearShadowCopyPath Provides COM objects with version-independent access to the AppDomain.ClearShadowCopyPath method.
Public method CreateInstance(String, String) Provides COM objects with version-independent access to the AppDomain.CreateInstance method.
Public method CreateInstance(String, String, Object[]) Provides COM objects with version-independent access to the AppDomain.CreateInstance(String, String, Object[]) method overload.
Public method CreateInstance(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence) Provides COM objects with version-independent access to the AppDomain.CreateInstance(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence) method overload.
Public method CreateInstanceFrom(String, String) Provides COM objects with version-independent access to the AppDomain.CreateInstanceFrom(String, String) method overload.
Public method CreateInstanceFrom(String, String, Object[]) Provides COM objects with version-independent access to the AppDomain.CreateInstanceFrom(String, String, Object[]) method overload.
Public method CreateInstanceFrom(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence) Provides COM objects with version-independent access to the AppDomain.CreateInstanceFrom(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence) method overload.
Public method DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) Provides COM objects with version-independent access to the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) method overload.
Public method DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) Provides COM objects with version-independent access to the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) method overload.
Public method DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) Provides COM objects with version-independent access to the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) method overload.
Public method DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence) Provides COM objects with version-independent access to the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence) method overload.
Public method DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet) Provides COM objects with version-independent access to the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet) method overload.
Public method DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet) Provides COM objects with version-independent access to the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet) method overload.
Public method DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet) Provides COM objects with version-independent access to the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet) method overload.
Public method DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet) Provides COM objects with version-independent access to the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet) method overload.
Public method DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean) Provides COM objects with version-independent access to the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean) method overload.
Public method DoCallBack Provides COM objects with version-independent access to the AppDomain.DoCallBack method.
Public method Equals Provides COM objects with version-independent access to the inherited Object.Equals method.
Public method ExecuteAssembly(String) Provides COM objects with version-independent access to the AppDomain.ExecuteAssembly(String) method overload.
Public method ExecuteAssembly(String, Evidence) Provides COM objects with version-independent access to the AppDomain.ExecuteAssembly(String, Evidence) method overload.
Public method ExecuteAssembly(String, Evidence, String[]) Provides COM objects with version-independent access to the AppDomain.ExecuteAssembly(String, Evidence, String[]) method overload.
Public method GetAssemblies Provides COM objects with version-independent access to the AppDomain.GetAssemblies method.
Public method GetData Provides COM objects with version-independent access to the AppDomain.GetData method.
Public method GetHashCode Provides COM objects with version-independent access to the inherited Object.GetHashCode method.
Public method GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers.
Public method GetLifetimeService Provides COM objects with version-independent access to the inherited MarshalByRefObject.GetLifetimeService method.
Public method GetType Provides COM objects with version-independent access to the AppDomain.GetType method.
Public method GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface.
Public method GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Public method InitializeLifetimeService Provides COM objects with version-independent access to the AppDomain.InitializeLifetimeService method.
Public method Invoke Provides access to properties and methods exposed by an object.
Public method Load(AssemblyName) Provides COM objects with version-independent access to the AppDomain.Load(AssemblyName) method overload.
Public method Load(Byte[]) Provides COM objects with version-independent access to the AppDomain.Load(Byte[]) method overload.
Public method Load(String) Provides COM objects with version-independent access to the AppDomain.Load(String) method overload.
Public method Load(AssemblyName, Evidence) Provides COM objects with version-independent access to the AppDomain.Load(AssemblyName, Evidence) method overload.
Public method Load(Byte[], Byte[]) Provides COM objects with version-independent access to the AppDomain.Load(Byte[], Byte[]) method overload.
Public method Load(String, Evidence) Provides COM objects with version-independent access to the AppDomain.Load(String, Evidence) method overload.
Public method Load(Byte[], Byte[], Evidence) Provides COM objects with version-independent access to the AppDomain.Load(Byte[], Byte[], Evidence) method overload.
Public method SetAppDomainPolicy Provides COM objects with version-independent access to the AppDomain.SetAppDomainPolicy method.
Public method SetCachePath Provides COM objects with version-independent access to the AppDomain.SetCachePath method.
Public method SetData Provides COM objects with version-independent access to the AppDomain.SetData method.
Public method SetPrincipalPolicy Provides COM objects with version-independent access to the AppDomain.SetPrincipalPolicy method.
Public method SetShadowCopyPath Provides COM objects with version-independent access to the AppDomain.SetShadowCopyPath method.
Public method SetThreadPrincipal Provides COM objects with version-independent access to the AppDomain.SetThreadPrincipal method.
Public method ToString Provides COM objects with version-independent access to the AppDomain.ToString method.
Top
Events

  Name Description
Public event AssemblyLoad Provides COM objects with version-independent access to the AppDomain.AssemblyLoad event.
Public event AssemblyResolve Provides COM objects with version-independent access to the AppDomain.AssemblyResolve event.
Public event DomainUnload Provides COM objects with version-independent access to the AppDomain.DomainUnload event.
Public event ProcessExit Provides COM objects with version-independent access to the AppDomain.ProcessExit event.
Public event ResourceResolve Provides COM objects with version-independent access to the AppDomain.ResourceResolve event.
Public event TypeResolve Provides COM objects with version-independent access to the AppDomain.TypeResolve event.
Public event UnhandledException Provides COM objects with version-independent access to the AppDomain.UnhandledException event.
Top
Remarks

This interface preserves the vtable order of the System.AppDomain class members that can be accessed by unmanaged COM objects.

Version Information

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also

Reference