Share via


IBuildController.LoadCustomActivitiesAndExtensions Method

Downloads all assemblies from the CustomAssemblyLocation to the local path, loads the assemblies that contain custom activity and extension types, and returns a list of the custom activity and extension types.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
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
)
List<Assembly^>^ LoadCustomActivitiesAndExtensions(
    String^ localPath, 
    RecursionType recursionType, 
    HostEnvironmentOption environmentOptions, 
    [OutAttribute] List<Type^>^% activityTypes, 
    [OutAttribute] List<Type^>^% extensionTypes, 
    [OutAttribute] List<IFailure^>^% failures
)
abstract LoadCustomActivitiesAndExtensions : 
        localPath:string * 
        recursionType:RecursionType * 
        environmentOptions:HostEnvironmentOption * 
        activityTypes:List<Type> byref * 
        extensionTypes:List<Type> byref * 
        failures:List<IFailure> byref -> List<Assembly> 
function LoadCustomActivitiesAndExtensions(
    localPath : String, 
    recursionType : RecursionType, 
    environmentOptions : HostEnvironmentOption, 
    activityTypes : List<Type>, 
    extensionTypes : List<Type>, 
    failures : List<IFailure>
) : List<Assembly>

Parameters

  • localPath
    Type: System.String

    The local path to which custom assemblies are downloaded.

Return Value

Type: System.Collections.Generic.List<Assembly>
A list of assemblies that were loaded.

.NET Framework Security

See Also

Reference

IBuildController Interface

Microsoft.TeamFoundation.Build.Client Namespace