System.AddIn.Hosting 命名空間

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.