共用方式為


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 命名空間