共用方式為


IBuildController.LoadCustomActivitiesAndExtensions 方法

請從下列網址下載 CustomAssemblyLocation 的所有組件加入至本機路徑,載入包含自訂活動和副檔名類型的組件,並傳回自訂活動和擴充功能類型的清單。

命名空間:  Microsoft.TeamFoundation.Build.Client
組件:  Microsoft.TeamFoundation.Build.Client (在 Microsoft.TeamFoundation.Build.Client.dll 中)

語法

'宣告
Function LoadCustomActivitiesAndExtensions ( _
    localPath As String, _
    recursionType As RecursionType, _
    environmentOptions As HostEnvironmentOption, _
    <OutAttribute> ByRef activityTypes As List(Of Type), _
    <OutAttribute> ByRef extensionTypes As List(Of Type), _
    <OutAttribute> ByRef failures As List(Of IFailure) _
) As List(Of Assembly)
List<Assembly> LoadCustomActivitiesAndExtensions(
    string localPath,
    RecursionType recursionType,
    HostEnvironmentOption environmentOptions,
    out List<Type> activityTypes,
    out List<Type> extensionTypes,
    out List<IFailure> failures
)

參數

  • localPath
    型別:System.String
    自訂下載組件的本機路徑。

傳回值

型別:System.Collections.Generic.List<Assembly>
載入組件的清單。

.NET Framework 安全性

請參閱

參考

IBuildController 介面

Microsoft.TeamFoundation.Build.Client 命名空間