共用方式為


WorkflowHelpers.ValidateWorkflow Method (Activity, ValidationSettings)

Validates the specified activity tree using optional settings provided by the caller.

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

Syntax

'Declaration
Public Shared Sub ValidateWorkflow ( _
    activity As Activity, _
    validationSettings As ValidationSettings _
)
public static void ValidateWorkflow(
    Activity activity,
    ValidationSettings validationSettings
)
public:
static void ValidateWorkflow(
    Activity^ activity, 
    ValidationSettings^ validationSettings
)
static member ValidateWorkflow : 
        activity:Activity * 
        validationSettings:ValidationSettings -> unit
public static function ValidateWorkflow(
    activity : Activity, 
    validationSettings : ValidationSettings
)

Parameters

.NET Framework Security

See Also

Reference

WorkflowHelpers Class

ValidateWorkflow Overload

Microsoft.TeamFoundation.Build.Workflow Namespace