This method is used by client (returning all the errors instead of throwing at first one)
Namespace:  Microsoft.TeamFoundation.Build.Workflow
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
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
)
public:
static bool TryDeserializeWorkflow(
    String^ markup, 
    [OutAttribute] Dictionary<String^, ProcessParameter^>^% parameters, 
    [OutAttribute] ProcessParameterMetadataCollection^% metadata, 
    [OutAttribute] List<ProcessParameterError^>^% parameterErrors, 
    [OutAttribute] List<ProcessParameterError^>^% assemblyMismatches
)
static member TryDeserializeWorkflow : 
        markup:string * 
        parameters:Dictionary<string, ProcessParameter> byref * 
        metadata:ProcessParameterMetadataCollection byref * 
        parameterErrors:List<ProcessParameterError> byref * 
        assemblyMismatches:List<ProcessParameterError> byref -> bool
public static function TryDeserializeWorkflow(
    markup : String, 
    parameters : Dictionary<String, ProcessParameter>, 
    metadata : ProcessParameterMetadataCollection, 
    parameterErrors : List<ProcessParameterError>, 
    assemblyMismatches : List<ProcessParameterError>
) : boolean
Parameters
- markup
 Type: System.String
- parameters
 Type: System.Collections.Generic.Dictionary<String, ProcessParameter>%
- parameterErrors
 Type: System.Collections.Generic.List<ProcessParameterError>%
- assemblyMismatches
 Type: System.Collections.Generic.List<ProcessParameterError>%
Return Value
Type: System.Boolean
.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.