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. 
- recursionType 
 Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType- The recursion type for the custom assembly download. 
- environmentOptions 
 Type: Microsoft.TeamFoundation.Build.Client.HostEnvironmentOption- Options to constrain the loaded activities. 
- activityTypes 
 Type: System.Collections.Generic.List<Type>%- The custom activity types that are found in the custom assemblies. 
- extensionTypes 
 Type: System.Collections.Generic.List<Type>%- The custom extension types that are found in the custom assemblies. 
- failures 
 Type: System.Collections.Generic.List<IFailure>%- The list of failures that occurred during this operation. 
Return Value
Type: System.Collections.Generic.List<Assembly>
A list of assemblies that were loaded.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.