System.AddIn.Hosting Namespace

System.AddIn.Hosting 命名空间提供用于发现、注册、激活和控制外接程序的类。 The System.AddIn.Hosting namespace provides classes for discovering, registering, activating, and controlling Add-Ins.

AddInController

提供用于执行各种任务的外接程序的访问权限。Provides access to an add-in for a variety of tasks.

AddInEnvironment

提供外接程序的应用程序域和进程的访问权限。Provides access to the application domain and process of an add-in.

AddInProcess

提供一个外部进程,用于通过宿主应用程序在进程外运行外接程序。Provides an external process for running add-ins out-of-process from the host application.

AddInSegmentDirectoryNotFoundException

管线目录结构中缺少段目录时引发的异常。The exception that is thrown when a segment directory is missing from the pipeline directory structure.

AddInStore

提供方法以存储和查找有关可用外接程序及管线段的信息。Provides methods to store and find information about available add-ins and pipeline segments.

AddInToken

表示可激活的外接程序。Represents an add-in that can be activated.

InvalidPipelineStoreException

在未找到目录以及用户无权访问管线根路径或外接程序路径的情况下引发的异常。The exception that is thrown when a directory is not found and the user does not have permission to access the pipeline root path or an add-in path.

结构

QualificationDataItem

表示管线段的开发人员提供给宿主使用的信息。Represents information supplied by the developer of a pipeline segment, for use by the host.

枚举

AddInSecurityLevel

指定授予外接程序所加载到的应用程序域的信任级别。Specifies the trust level that is granted to the application domain that an add-in is loaded into.

AddInSegmentType

指定管线段的类型。Specifies the type of a pipeline segment.

PipelineStoreLocation

指定管线存储区的替代位置,而不是目录路径。Specifies alternative locations for a pipeline store instead of a path to a directory.

Platform

指定进程外的外接程序在其中运行的进程的每字位数。Specifies the bits-per-word of the process in which an out-of-process add-in is run.