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
- activity
Type: System.Activities.Activity
The root Activity.
- validationSettings
Type: System.Activities.Validation.ValidationSettings
Optional settings to control validation.
.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.