Export (0) Print
Expand All

_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)

[CLSCompliantAttribute(false)]
[GuidAttribute("05F696DC-2B29-3663-AD8B-C4389CF2A713")]
[ComVisibleAttribute(true)]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface _AppDomain

The _AppDomain type exposes the following members.

  NameDescription
Public propertyBaseDirectoryProvides COM objects with version-independent access to the AppDomain.BaseDirectory property.
Public propertyDynamicDirectoryProvides COM objects with version-independent access to the AppDomain.DynamicDirectory property.
Public propertyEvidenceProvides COM objects with version-independent access to the AppDomain.Evidence property.
Public propertyFriendlyNameProvides COM objects with version-independent access to the AppDomain.FriendlyName property.
Public propertyRelativeSearchPathProvides COM objects with version-independent access to the AppDomain.RelativeSearchPath property.
Public propertyShadowCopyFilesProvides COM objects with version-independent access to the AppDomain.ShadowCopyFiles property.
Top

  NameDescription
Public methodAppendPrivatePathProvides COM objects with version-independent access to the AppDomain.AppendPrivatePath method.
Public methodClearPrivatePathProvides COM objects with version-independent access to the AppDomain.ClearPrivatePath method.
Public methodClearShadowCopyPathProvides COM objects with version-independent access to the AppDomain.ClearShadowCopyPath method.
Public methodCreateInstance(String, String)Provides COM objects with version-independent access to the AppDomain.CreateInstance method.
Public methodCreateInstance(String, String, Object[])Provides COM objects with version-independent access to the AppDomain.CreateInstance(String, String, Object[]) method overload.
Public methodCreateInstance(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 methodCreateInstanceFrom(String, String)Provides COM objects with version-independent access to the AppDomain.CreateInstanceFrom(String, String) method overload.
Public methodCreateInstanceFrom(String, String, Object[])Provides COM objects with version-independent access to the AppDomain.CreateInstanceFrom(String, String, Object[]) method overload.
Public methodCreateInstanceFrom(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 methodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)Provides COM objects with version-independent access to the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) method overload.
Public methodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence)Provides COM objects with version-independent access to the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) method overload.
Public methodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String)Provides COM objects with version-independent access to the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) method overload.
Public methodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence)Provides COM objects with version-independent access to the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence) method overload.
Public methodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet)Provides COM objects with version-independent access to the AppDomain.DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet) method overload.
Public methodDefineDynamicAssembly(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 methodDefineDynamicAssembly(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 methodDefineDynamicAssembly(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 methodDefineDynamicAssembly(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 methodDoCallBackProvides COM objects with version-independent access to the AppDomain.DoCallBack method.
Public methodEqualsProvides COM objects with version-independent access to the inherited Object.Equals method.
Public methodExecuteAssembly(String)Provides COM objects with version-independent access to the AppDomain.ExecuteAssembly(String) method overload.
Public methodExecuteAssembly(String, Evidence)Provides COM objects with version-independent access to the AppDomain.ExecuteAssembly(String, Evidence) method overload.
Public methodExecuteAssembly(String, Evidence, String[])Provides COM objects with version-independent access to the AppDomain.ExecuteAssembly(String, Evidence, String[]) method overload.
Public methodGetAssembliesProvides COM objects with version-independent access to the AppDomain.GetAssemblies method.
Public methodGetDataProvides COM objects with version-independent access to the AppDomain.GetData method.
Public methodGetHashCodeProvides COM objects with version-independent access to the inherited Object.GetHashCode method.
Public methodGetIDsOfNamesMaps a set of names to a corresponding set of dispatch identifiers.
Public methodGetLifetimeServiceProvides COM objects with version-independent access to the inherited MarshalByRefObject.GetLifetimeService method.
Public methodGetTypeProvides COM objects with version-independent access to the AppDomain.GetType method.
Public methodGetTypeInfoRetrieves the type information for an object, which can then be used to get the type information for an interface.
Public methodGetTypeInfoCountRetrieves the number of type information interfaces that an object provides (either 0 or 1).
Public methodInitializeLifetimeServiceProvides COM objects with version-independent access to the AppDomain.InitializeLifetimeService method.
Public methodInvokeProvides access to properties and methods exposed by an object.
Public methodLoad(AssemblyName)Provides COM objects with version-independent access to the AppDomain.Load(AssemblyName) method overload.
Public methodLoad(Byte[])Provides COM objects with version-independent access to the AppDomain.Load(Byte[]) method overload.
Public methodLoad(String)Provides COM objects with version-independent access to the AppDomain.Load(String) method overload.
Public methodLoad(AssemblyName, Evidence)Provides COM objects with version-independent access to the AppDomain.Load(AssemblyName, Evidence) method overload.
Public methodLoad(Byte[], Byte[])Provides COM objects with version-independent access to the AppDomain.Load(Byte[], Byte[]) method overload.
Public methodLoad(String, Evidence)Provides COM objects with version-independent access to the AppDomain.Load(String, Evidence) method overload.
Public methodLoad(Byte[], Byte[], Evidence)Provides COM objects with version-independent access to the AppDomain.Load(Byte[], Byte[], Evidence) method overload.
Public methodSetAppDomainPolicyProvides COM objects with version-independent access to the AppDomain.SetAppDomainPolicy method.
Public methodSetCachePathProvides COM objects with version-independent access to the AppDomain.SetCachePath method.
Public methodSetDataProvides COM objects with version-independent access to the AppDomain.SetData method.
Public methodSetPrincipalPolicyProvides COM objects with version-independent access to the AppDomain.SetPrincipalPolicy method.
Public methodSetShadowCopyPathProvides COM objects with version-independent access to the AppDomain.SetShadowCopyPath method.
Public methodSetThreadPrincipalProvides COM objects with version-independent access to the AppDomain.SetThreadPrincipal method.
Public methodToStringProvides COM objects with version-independent access to the AppDomain.ToString method.
Top

  NameDescription
Public eventAssemblyLoadProvides COM objects with version-independent access to the AppDomain.AssemblyLoad event.
Public eventAssemblyResolveProvides COM objects with version-independent access to the AppDomain.AssemblyResolve event.
Public eventDomainUnloadProvides COM objects with version-independent access to the AppDomain.DomainUnload event.
Public eventProcessExitProvides COM objects with version-independent access to the AppDomain.ProcessExit event.
Public eventResourceResolveProvides COM objects with version-independent access to the AppDomain.ResourceResolve event.
Public eventTypeResolveProvides COM objects with version-independent access to the AppDomain.TypeResolve event.
Public eventUnhandledExceptionProvides COM objects with version-independent access to the AppDomain.UnhandledException event.
Top

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

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft