Muokkaa

Jaa


_AppDomain Interface

Definition

Important

This API is not CLS-compliant.

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

public interface class _AppDomain
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("05F696DC-2B29-3663-AD8B-C4389CF2A713")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _AppDomain
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("05F696DC-2B29-3663-AD8B-C4389CF2A713")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _AppDomain
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("05F696DC-2B29-3663-AD8B-C4389CF2A713")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _AppDomain = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("05F696DC-2B29-3663-AD8B-C4389CF2A713")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type _AppDomain = interface
Public Interface _AppDomain
Derived
Attributes

Remarks

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

Properties

BaseDirectory

Provides COM objects with version-independent access to the BaseDirectory property.

DynamicDirectory

Provides COM objects with version-independent access to the DynamicDirectory property.

Evidence

Provides COM objects with version-independent access to the Evidence property.

FriendlyName

Provides COM objects with version-independent access to the FriendlyName property.

RelativeSearchPath

Provides COM objects with version-independent access to the RelativeSearchPath property.

ShadowCopyFiles

Provides COM objects with version-independent access to the ShadowCopyFiles property.

Methods

AppendPrivatePath(String)

Provides COM objects with version-independent access to the AppendPrivatePath(String) method.

ClearPrivatePath()

Provides COM objects with version-independent access to the ClearPrivatePath() method.

ClearShadowCopyPath()

Provides COM objects with version-independent access to the ClearShadowCopyPath() method.

CreateInstance(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence)

Provides COM objects with version-independent access to the CreateInstance(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence) method overload.

CreateInstance(String, String, Object[])

Provides COM objects with version-independent access to the CreateInstance(String, String, Object[]) method overload.

CreateInstance(String, String)

Provides COM objects with version-independent access to the CreateInstance(String, String) method.

CreateInstanceFrom(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence)

Provides COM objects with version-independent access to the CreateInstanceFrom(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence) method overload.

CreateInstanceFrom(String, String, Object[])

Provides COM objects with version-independent access to the CreateInstanceFrom(String, String, Object[]) method overload.

CreateInstanceFrom(String, String)

Provides COM objects with version-independent access to the CreateInstanceFrom(String, String) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet)

Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence)

Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet)

Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean)

Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet)

Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence)

Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet)

Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String)

Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) method overload.

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)

Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) method overload.

DoCallBack(CrossAppDomainDelegate)

Provides COM objects with version-independent access to the DoCallBack(CrossAppDomainDelegate) method.

Equals(Object)

Provides COM objects with version-independent access to the inherited Equals(Object) method.

ExecuteAssembly(String, Evidence, String[])

Provides COM objects with version-independent access to the ExecuteAssembly(String, Evidence, String[]) method overload.

ExecuteAssembly(String, Evidence)

Provides COM objects with version-independent access to the ExecuteAssembly(String, Evidence) method overload.

ExecuteAssembly(String)

Provides COM objects with version-independent access to the ExecuteAssembly(String) method overload.

GetAssemblies()

Provides COM objects with version-independent access to the GetAssemblies() method.

GetData(String)

Provides COM objects with version-independent access to the GetData(String) method.

GetHashCode()

Provides COM objects with version-independent access to the inherited GetHashCode() method.

GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Maps a set of names to a corresponding set of dispatch identifiers.

GetLifetimeService()

Provides COM objects with version-independent access to the inherited GetLifetimeService() method.

GetType()

Provides COM objects with version-independent access to the GetType() method.

GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can then be used to get the type information for an interface.

GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).

InitializeLifetimeService()

Provides COM objects with version-independent access to the InitializeLifetimeService() method.

Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Provides access to properties and methods exposed by an object.

Load(AssemblyName, Evidence)

Provides COM objects with version-independent access to the Load(AssemblyName, Evidence) method overload.

Load(AssemblyName)

Provides COM objects with version-independent access to the Load(AssemblyName) method overload.

Load(Byte[], Byte[], Evidence)

Provides COM objects with version-independent access to the Load(Byte[], Byte[], Evidence) method overload.

Load(Byte[], Byte[])

Provides COM objects with version-independent access to the Load(Byte[], Byte[]) method overload.

Load(Byte[])

Provides COM objects with version-independent access to the Load(Byte[]) method overload.

Load(String, Evidence)

Provides COM objects with version-independent access to the Load(String, Evidence) method overload.

Load(String)

Provides COM objects with version-independent access to the Load(String) method overload.

SetAppDomainPolicy(PolicyLevel)

Provides COM objects with version-independent access to the SetAppDomainPolicy(PolicyLevel) method.

SetCachePath(String)

Provides COM objects with version-independent access to the SetCachePath(String) method.

SetData(String, Object)

Provides COM objects with version-independent access to the SetData(String, Object) method.

SetPrincipalPolicy(PrincipalPolicy)

Provides COM objects with version-independent access to the SetPrincipalPolicy(PrincipalPolicy) method.

SetShadowCopyPath(String)

Provides COM objects with version-independent access to the SetShadowCopyPath(String) method.

SetThreadPrincipal(IPrincipal)

Provides COM objects with version-independent access to the SetThreadPrincipal(IPrincipal) method.

ToString()

Provides COM objects with version-independent access to the ToString() method.

Events

AssemblyLoad

Provides COM objects with version-independent access to the AssemblyLoad event.

AssemblyResolve

Provides COM objects with version-independent access to the AssemblyResolve event.

DomainUnload

Provides COM objects with version-independent access to the DomainUnload event.

ProcessExit

Provides COM objects with version-independent access to the ProcessExit event.

ResourceResolve

Provides COM objects with version-independent access to the ResourceResolve event.

TypeResolve

Provides COM objects with version-independent access to the TypeResolve event.

UnhandledException

Provides COM objects with version-independent access to the UnhandledException event.

Applies to