共用方式為


WorkflowHelpers.ValidateWorkflow 方法 (Activity, ValidationSettings)

驗證指定的活動樹狀結構使用呼叫端提供的選擇性設定。

命名空間:  Microsoft.TeamFoundation.Build.Workflow
組件:  Microsoft.TeamFoundation.Build.Workflow (在 Microsoft.TeamFoundation.Build.Workflow.dll 中)

語法

'宣告
Public Shared Sub ValidateWorkflow ( _
    activity As Activity, _
    validationSettings As ValidationSettings _
)
public static void ValidateWorkflow(
    Activity activity,
    ValidationSettings validationSettings
)

參數

.NET Framework 安全性

請參閱

參考

WorkflowHelpers 類別

ValidateWorkflow 多載

Microsoft.TeamFoundation.Build.Workflow 命名空間