WorkflowHelpers.TryDeserializeWorkflow 方法

客户端使用此方法 (返回所有错误而不是引发一致。)

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

语法

声明
Public Shared Function TryDeserializeWorkflow ( _
    markup As String, _
    <OutAttribute> ByRef parameters As Dictionary(Of String, ProcessParameter), _
    <OutAttribute> ByRef metadata As ProcessParameterMetadataCollection, _
    <OutAttribute> ByRef parameterErrors As List(Of ProcessParameterError), _
    <OutAttribute> ByRef assemblyMismatches As List(Of ProcessParameterError) _
) As Boolean
public static bool TryDeserializeWorkflow(
    string markup,
    out Dictionary<string, ProcessParameter> parameters,
    out ProcessParameterMetadataCollection metadata,
    out List<ProcessParameterError> parameterErrors,
    out List<ProcessParameterError> assemblyMismatches
)

参数

返回值

类型:System.Boolean

.NET Framework 安全性

请参阅

参考

WorkflowHelpers 类

Microsoft.TeamFoundation.Build.Workflow 命名空间