共用方式為


WorkflowHelpers.DeserializeWorkflow Method (String, Boolean, List<ProcessParameterError>%)

This method is still used by build computer (returning assembly mismatches instead of throwing an exception at first error)

Namespace:  Microsoft.TeamFoundation.Build.Workflow
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
Public Shared Function DeserializeWorkflow ( _
    markup As String, _
    throwException As Boolean, _
    <OutAttribute> ByRef assemblyMismatches As List(Of ProcessParameterError) _
) As Activity
public static Activity DeserializeWorkflow(
    string markup,
    bool throwException,
    out List<ProcessParameterError> assemblyMismatches
)
public:
static Activity^ DeserializeWorkflow(
    String^ markup, 
    bool throwException, 
    [OutAttribute] List<ProcessParameterError^>^% assemblyMismatches
)
static member DeserializeWorkflow : 
        markup:string * 
        throwException:bool * 
        assemblyMismatches:List<ProcessParameterError> byref -> Activity
public static function DeserializeWorkflow(
    markup : String, 
    throwException : boolean, 
    assemblyMismatches : List<ProcessParameterError>
) : Activity

Parameters

Return Value

Type: System.Activities.Activity

.NET Framework Security

See Also

Reference

WorkflowHelpers Class

DeserializeWorkflow Overload

Microsoft.TeamFoundation.Build.Workflow Namespace