WorkflowHelpers.GetProcessParametersAndMetadata Method (IProcessTemplate, ProcessParameterMetadataCollection%, List<ProcessParameterError>%, List<ProcessParameterError>%)
Returns the root Activity from the process template. If the root is a DynamicActivity then the Properties collection is included. Also returns all the parsing errors.
Namespace: Microsoft.TeamFoundation.Build.Workflow
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
Public Shared Function GetProcessParametersAndMetadata ( _
selectedProcess As IProcessTemplate, _
<OutAttribute> ByRef metadata As ProcessParameterMetadataCollection, _
<OutAttribute> ByRef parameterErrors As List(Of ProcessParameterError), _
<OutAttribute> ByRef assemblyMismatches As List(Of ProcessParameterError) _
) As Dictionary(Of String, ProcessParameter)
public static Dictionary<string, ProcessParameter> GetProcessParametersAndMetadata(
IProcessTemplate selectedProcess,
out ProcessParameterMetadataCollection metadata,
out List<ProcessParameterError> parameterErrors,
out List<ProcessParameterError> assemblyMismatches
)
public:
static Dictionary<String^, ProcessParameter^>^ GetProcessParametersAndMetadata(
IProcessTemplate^ selectedProcess,
[OutAttribute] ProcessParameterMetadataCollection^% metadata,
[OutAttribute] List<ProcessParameterError^>^% parameterErrors,
[OutAttribute] List<ProcessParameterError^>^% assemblyMismatches
)
static member GetProcessParametersAndMetadata :
selectedProcess:IProcessTemplate *
metadata:ProcessParameterMetadataCollection byref *
parameterErrors:List<ProcessParameterError> byref *
assemblyMismatches:List<ProcessParameterError> byref -> Dictionary<string, ProcessParameter>
public static function GetProcessParametersAndMetadata(
selectedProcess : IProcessTemplate,
metadata : ProcessParameterMetadataCollection,
parameterErrors : List<ProcessParameterError>,
assemblyMismatches : List<ProcessParameterError>
) : Dictionary<String, ProcessParameter>
Parameters
- selectedProcess
Type: Microsoft.TeamFoundation.Build.Client.IProcessTemplate
- parameterErrors
Type: System.Collections.Generic.List<ProcessParameterError>%
- assemblyMismatches
Type: System.Collections.Generic.List<ProcessParameterError>%
Return Value
Type: System.Collections.Generic.Dictionary<String, ProcessParameter>
.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.