Compartilhar via


IBuildController.LoadCustomActivities Method

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

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

Syntax

'Declaração
Function LoadCustomActivities ( _
    localPath As String, _
    recursionType As RecursionType, _
    environmentOptions As HostEnvironmentOption, _
    <OutAttribute> ByRef activityTypes As List(Of Type), _
    <OutAttribute> ByRef failures As List(Of IFailure) _
) As List(Of Assembly)
List<Assembly> LoadCustomActivities(
    string localPath,
    RecursionType recursionType,
    HostEnvironmentOption environmentOptions,
    out List<Type> activityTypes,
    out List<IFailure> failures
)
List<Assembly^>^ LoadCustomActivities(
    String^ localPath, 
    RecursionType recursionType, 
    HostEnvironmentOption environmentOptions, 
    [OutAttribute] List<Type^>^% activityTypes, 
    [OutAttribute] List<IFailure^>^% failures
)
abstract LoadCustomActivities : 
        localPath:string * 
        recursionType:RecursionType * 
        environmentOptions:HostEnvironmentOption * 
        activityTypes:List<Type> byref * 
        failures:List<IFailure> byref -> List<Assembly> 
function LoadCustomActivities(
    localPath : String, 
    recursionType : RecursionType, 
    environmentOptions : HostEnvironmentOption, 
    activityTypes : 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