Поделиться через


WorkflowHelpers.GetProcessParametersAndMetadata Method (IProcessTemplate, ProcessParameterMetadataCollection%, List<ProcessParameterError>%)

Returns the root Activity from the process template. If the root is a DynamicActivity then the Properties collection is included.

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 assemblyMismatches As List(Of ProcessParameterError) _
) As Dictionary(Of String, ProcessParameter)
public static Dictionary<string, ProcessParameter> GetProcessParametersAndMetadata(
    IProcessTemplate selectedProcess,
    out ProcessParameterMetadataCollection metadata,
    out List<ProcessParameterError> assemblyMismatches
)
public:
static Dictionary<String^, ProcessParameter^>^ GetProcessParametersAndMetadata(
    IProcessTemplate^ selectedProcess, 
    [OutAttribute] ProcessParameterMetadataCollection^% metadata, 
    [OutAttribute] List<ProcessParameterError^>^% assemblyMismatches
)
static member GetProcessParametersAndMetadata : 
        selectedProcess:IProcessTemplate * 
        metadata:ProcessParameterMetadataCollection byref * 
        assemblyMismatches:List<ProcessParameterError> byref -> Dictionary<string, ProcessParameter> 
public static function GetProcessParametersAndMetadata(
    selectedProcess : IProcessTemplate, 
    metadata : ProcessParameterMetadataCollection, 
    assemblyMismatches : List<ProcessParameterError>
) : Dictionary<String, ProcessParameter>

Parameters

Return Value

Type: System.Collections.Generic.Dictionary<String, ProcessParameter>

.NET Framework Security

See Also

Reference

WorkflowHelpers Class

GetProcessParametersAndMetadata Overload

Microsoft.TeamFoundation.Build.Workflow Namespace