This documentation is archived and is not being maintained.

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)

List<Assembly^>^ LoadCustomActivitiesAndExtensions(
	String^ localPath, 
	RecursionType recursionType, 
	HostEnvironmentOption environmentOptions, 
	[OutAttribute] List<Type^>^% activityTypes, 
	[OutAttribute] List<Type^>^% extensionTypes, 
	[OutAttribute] List<IFailure^>^% failures
)

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.

Show: