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
'Declaration
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.StringThe local path where custom assemblies are downloaded.
recursionType
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionTypeThe recursion type for the custom assembly download.
environmentOptions
Type: Microsoft.TeamFoundation.Build.Client.HostEnvironmentOptionOptions to constrain the loaded activities.
activityTypes
Type: System.Collections.Generic.List<Type>%The custom activity 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.