_AppDomain _AppDomain _AppDomain _AppDomain Interface

定义

重要

此 API 不符合 CLS。

向非托管代码公开 AppDomain 类的公共成员。Exposes the public members of the AppDomain class to unmanaged code.

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

注解

此接口保留的 vtable 顺序System.AppDomain类可以访问由非托管 COM 对象的成员。This interface preserves the vtable order of the System.AppDomain class members that can be accessed by unmanaged COM objects.

属性

BaseDirectory BaseDirectory BaseDirectory BaseDirectory

为 COM 对象提供对 BaseDirectory 属性的与版本无关的访问。Provides COM objects with version-independent access to the BaseDirectory property.

DynamicDirectory DynamicDirectory DynamicDirectory DynamicDirectory

为 COM 对象提供对 DynamicDirectory 属性的与版本无关的访问。Provides COM objects with version-independent access to the DynamicDirectory property.

Evidence Evidence Evidence Evidence

为 COM 对象提供对 Evidence 属性的与版本无关的访问。Provides COM objects with version-independent access to the Evidence property.

FriendlyName FriendlyName FriendlyName FriendlyName

为 COM 对象提供对 FriendlyName 属性的与版本无关的访问。Provides COM objects with version-independent access to the FriendlyName property.

RelativeSearchPath RelativeSearchPath RelativeSearchPath RelativeSearchPath

为 COM 对象提供对 RelativeSearchPath 属性的与版本无关的访问。Provides COM objects with version-independent access to the RelativeSearchPath property.

ShadowCopyFiles ShadowCopyFiles ShadowCopyFiles ShadowCopyFiles

为 COM 对象提供对 ShadowCopyFiles 属性的与版本无关的访问。Provides COM objects with version-independent access to the ShadowCopyFiles property.

方法

AppendPrivatePath(String) AppendPrivatePath(String) AppendPrivatePath(String) AppendPrivatePath(String)

为 COM 对象提供对 AppendPrivatePath(String) 方法的版本无关的访问。Provides COM objects with version-independent access to the AppendPrivatePath(String) method.

ClearPrivatePath() ClearPrivatePath() ClearPrivatePath() ClearPrivatePath()

为 COM 对象提供对 ClearPrivatePath() 方法的版本无关的访问。Provides COM objects with version-independent access to the ClearPrivatePath() method.

ClearShadowCopyPath() ClearShadowCopyPath() ClearShadowCopyPath() ClearShadowCopyPath()

为 COM 对象提供对 ClearShadowCopyPath() 方法的版本无关的访问。Provides COM objects with version-independent access to the ClearShadowCopyPath() method.

CreateInstance(String, String) CreateInstance(String, String) CreateInstance(String, String) CreateInstance(String, String)

为 COM 对象提供对 CreateInstance(String, String) 方法的版本无关的访问。Provides COM objects with version-independent access to the CreateInstance(String, String) method.

CreateInstance(String, String, Object[]) CreateInstance(String, String, Object[]) CreateInstance(String, String, Object[]) CreateInstance(String, String, Object[])

为 COM 对象提供对 CreateInstance(String, String, Object[]) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the CreateInstance(String, String, Object[]) method overload.

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

为 COM 对象提供对 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.

CreateInstanceFrom(String, String) CreateInstanceFrom(String, String) CreateInstanceFrom(String, String) CreateInstanceFrom(String, String)

为 COM 对象提供对 CreateInstanceFrom(String, String) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the CreateInstanceFrom(String, String) method overload.

CreateInstanceFrom(String, String, Object[]) CreateInstanceFrom(String, String, Object[]) CreateInstanceFrom(String, String, Object[]) CreateInstanceFrom(String, String, Object[])

为 COM 对象提供对 CreateInstanceFrom(String, String, Object[]) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the CreateInstanceFrom(String, String, Object[]) method overload.

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

为 COM 对象提供对 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.

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

为 COM 对象提供对 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) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet)

为 COM 对象提供对 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, PermissionSet, PermissionSet, PermissionSet) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet)

为 COM 对象提供对 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, Evidence, PermissionSet, PermissionSet, PermissionSet) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet)

为 COM 对象提供对 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, String) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String)

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String) method overload.

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

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence) method overload.

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

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence) method overload.

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

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess) method overload.

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

为 COM 对象提供对 DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet) method overload.

DoCallBack(CrossAppDomainDelegate) DoCallBack(CrossAppDomainDelegate) DoCallBack(CrossAppDomainDelegate) DoCallBack(CrossAppDomainDelegate)

为 COM 对象提供对 DoCallBack(CrossAppDomainDelegate) 方法的版本无关的访问。Provides COM objects with version-independent access to the DoCallBack(CrossAppDomainDelegate) method.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

为 COM 对象提供对继承的 Equals(Object) 方法的版本无关的访问。Provides COM objects with version-independent access to the inherited Equals(Object) method.

ExecuteAssembly(String, Evidence) ExecuteAssembly(String, Evidence) ExecuteAssembly(String, Evidence) ExecuteAssembly(String, Evidence)

为 COM 对象提供对 ExecuteAssembly(String, Evidence) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the ExecuteAssembly(String, Evidence) method overload.

ExecuteAssembly(String) ExecuteAssembly(String) ExecuteAssembly(String) ExecuteAssembly(String)

为 COM 对象提供对 ExecuteAssembly(String) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the ExecuteAssembly(String) method overload.

ExecuteAssembly(String, Evidence, String[]) ExecuteAssembly(String, Evidence, String[]) ExecuteAssembly(String, Evidence, String[]) ExecuteAssembly(String, Evidence, String[])

为 COM 对象提供对 ExecuteAssembly(String, Evidence, String[]) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the ExecuteAssembly(String, Evidence, String[]) method overload.

GetAssemblies() GetAssemblies() GetAssemblies() GetAssemblies()

为 COM 对象提供对 GetAssemblies() 方法的版本无关的访问。Provides COM objects with version-independent access to the GetAssemblies() method.

GetData(String) GetData(String) GetData(String) GetData(String)

为 COM 对象提供对 GetData(String) 方法的版本无关的访问。Provides COM objects with version-independent access to the GetData(String) method.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

为 COM 对象提供对继承的 GetHashCode() 方法的版本无关的访问。Provides COM objects with version-independent access to the inherited GetHashCode() method.

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

将一组名称映射为对应的一组调度标识符。Maps a set of names to a corresponding set of dispatch identifiers.

GetLifetimeService() GetLifetimeService() GetLifetimeService() GetLifetimeService()

为 COM 对象提供对继承的 GetLifetimeService() 方法的版本无关的访问。Provides COM objects with version-independent access to the inherited GetLifetimeService() method.

GetType() GetType() GetType() GetType()

为 COM 对象提供对 GetType() 方法的版本无关的访问。Provides COM objects with version-independent access to the GetType() method.

GetTypeInfo(UInt32, UInt32, IntPtr) GetTypeInfo(UInt32, UInt32, IntPtr) GetTypeInfo(UInt32, UInt32, IntPtr) 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) GetTypeInfoCount(UInt32) GetTypeInfoCount(UInt32) GetTypeInfoCount(UInt32)

检索对象提供的类型信息接口的数量(0 或 1)。Retrieves the number of type information interfaces that an object provides (either 0 or 1).

InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService()

为 COM 对象提供对 InitializeLifetimeService() 方法的版本无关的访问。Provides COM objects with version-independent access to the InitializeLifetimeService() method.

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

提供对某一对象公开的属性和方法的访问。Provides access to properties and methods exposed by an object.

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

为 COM 对象提供对 Load(Byte[], Byte[], Evidence) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the Load(Byte[], Byte[], Evidence) method overload.

Load(String, Evidence) Load(String, Evidence) Load(String, Evidence) Load(String, Evidence)

为 COM 对象提供对 Load(String, Evidence) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the Load(String, Evidence) method overload.

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

为 COM 对象提供对 Load(Byte[], Byte[]) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the Load(Byte[], Byte[]) method overload.

Load(AssemblyName, Evidence) Load(AssemblyName, Evidence) Load(AssemblyName, Evidence) Load(AssemblyName, Evidence)

为 COM 对象提供对 Load(AssemblyName, Evidence) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the Load(AssemblyName, Evidence) method overload.

Load(AssemblyName) Load(AssemblyName) Load(AssemblyName) Load(AssemblyName)

为 COM 对象提供对 Load(AssemblyName) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the Load(AssemblyName) method overload.

Load(Byte[]) Load(Byte[]) Load(Byte[]) Load(Byte[])

为 COM 对象提供对 Load(Byte[]) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the Load(Byte[]) method overload.

Load(String) Load(String) Load(String) Load(String)

为 COM 对象提供对 Load(String) 方法重载的与版本无关的访问权限。Provides COM objects with version-independent access to the Load(String) method overload.

SetAppDomainPolicy(PolicyLevel) SetAppDomainPolicy(PolicyLevel) SetAppDomainPolicy(PolicyLevel) SetAppDomainPolicy(PolicyLevel)

为 COM 对象提供对 SetAppDomainPolicy(PolicyLevel) 方法的版本无关的访问。Provides COM objects with version-independent access to the SetAppDomainPolicy(PolicyLevel) method.

SetCachePath(String) SetCachePath(String) SetCachePath(String) SetCachePath(String)

为 COM 对象提供对 SetCachePath(String) 方法的版本无关的访问。Provides COM objects with version-independent access to the SetCachePath(String) method.

SetData(String, Object) SetData(String, Object) SetData(String, Object) SetData(String, Object)

为 COM 对象提供对 SetData(String, Object) 方法的版本无关的访问。Provides COM objects with version-independent access to the SetData(String, Object) method.

SetPrincipalPolicy(PrincipalPolicy) SetPrincipalPolicy(PrincipalPolicy) SetPrincipalPolicy(PrincipalPolicy) SetPrincipalPolicy(PrincipalPolicy)

为 COM 对象提供对 SetPrincipalPolicy(PrincipalPolicy) 方法的版本无关的访问。Provides COM objects with version-independent access to the SetPrincipalPolicy(PrincipalPolicy) method.

SetShadowCopyPath(String) SetShadowCopyPath(String) SetShadowCopyPath(String) SetShadowCopyPath(String)

为 COM 对象提供对 SetShadowCopyPath(String) 方法的版本无关的访问。Provides COM objects with version-independent access to the SetShadowCopyPath(String) method.

SetThreadPrincipal(IPrincipal) SetThreadPrincipal(IPrincipal) SetThreadPrincipal(IPrincipal) SetThreadPrincipal(IPrincipal)

为 COM 对象提供对 SetThreadPrincipal(IPrincipal) 方法的版本无关的访问。Provides COM objects with version-independent access to the SetThreadPrincipal(IPrincipal) method.

ToString() ToString() ToString() ToString()

为 COM 对象提供对 ToString() 方法的版本无关的访问。Provides COM objects with version-independent access to the ToString() method.

事件

AssemblyLoad AssemblyLoad AssemblyLoad AssemblyLoad

为 COM 对象提供对 AssemblyLoad 事件的版本无关的访问。Provides COM objects with version-independent access to the AssemblyLoad event.

AssemblyResolve AssemblyResolve AssemblyResolve AssemblyResolve

为 COM 对象提供对 AssemblyResolve 事件的版本无关的访问。Provides COM objects with version-independent access to the AssemblyResolve event.

DomainUnload DomainUnload DomainUnload DomainUnload

为 COM 对象提供对 DomainUnload 事件的版本无关的访问。Provides COM objects with version-independent access to the DomainUnload event.

ProcessExit ProcessExit ProcessExit ProcessExit

为 COM 对象提供对 ProcessExit 事件的版本无关的访问。Provides COM objects with version-independent access to the ProcessExit event.

ResourceResolve ResourceResolve ResourceResolve ResourceResolve

为 COM 对象提供对 ResourceResolve 事件的版本无关的访问。Provides COM objects with version-independent access to the ResourceResolve event.

TypeResolve TypeResolve TypeResolve TypeResolve

为 COM 对象提供对 TypeResolve 事件的版本无关的访问。Provides COM objects with version-independent access to the TypeResolve event.

UnhandledException UnhandledException UnhandledException UnhandledException

为 COM 对象提供对 UnhandledException 事件的版本无关的访问。Provides COM objects with version-independent access to the UnhandledException event.

适用于