Share via


WorkflowHelpers.DeserializeProcessParameters 方法 (String, IList<ProcessParameterError>%)

可从XAML的参数值序列化字典。未知类型和不存在的成员的参数将被忽略,在加载字典,而特定错误填充到错误集合。

命名空间:  Microsoft.TeamFoundation.Build.Workflow
程序集:  Microsoft.TeamFoundation.Build.Workflow(在 Microsoft.TeamFoundation.Build.Workflow.dll 中)

语法

声明
Public Shared Function DeserializeProcessParameters ( _
    parameterValues As String, _
    <OutAttribute> ByRef errors As IList(Of ProcessParameterError) _
) As IDictionary(Of String, Object)
public static IDictionary<string, Object> DeserializeProcessParameters(
    string parameterValues,
    out IList<ProcessParameterError> errors
)

参数

  • parameterValues
    类型:System.String
    字典的XAML字符串表示形式

返回值

类型:System.Collections.Generic.IDictionary<String, Object>
过程参数反序列化字典

.NET Framework 安全性

请参见

参考

WorkflowHelpers 类

DeserializeProcessParameters 重载

Microsoft.TeamFoundation.Build.Workflow 命名空间