Share via


ActivityManager.Validate Method

 

Validates specified workflow activitities.

Namespace:   Microsoft.Workflow.Client
Assembly:  Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)

Overload List

Name Description
System_CAPS_pubmethod Validate(ActivityDescription)

Validates a workflow activity.

System_CAPS_pubmethod Validate(ActivityDescription, Boolean)

Validaes a workflow activity and optionally uses the name of activity as the value of X:classname attribute in xaml.

System_CAPS_pubmethod Validate(IEnumerable<ActivityDescription>)

Validates a collection of workflow activities.

Remarks

ActivityValidationExceptionis thrown If validation fails.

See Also

ActivityManager Class
Microsoft.Workflow.Client Namespace

Return to top

ActivityManager.Validate Method (ActivityDescription)

Validates a workflow activity.

Syntax

public void Validate(
    ActivityDescription description
)
public:
void Validate(
    ActivityDescription^ description
)
member Validate : 
        description:ActivityDescription -> unit
Public Sub Validate (
    description As ActivityDescription
)

Parameters

Remarks

ActivityValidationExceptionis thrown If validation fails.

Return to top

ActivityManager.Validate Method (ActivityDescription, Boolean)

Validaes a workflow activity and optionally uses the name of activity as the value of X:classname attribute in xaml.

Syntax

public void Validate(
    ActivityDescription description,
    bool overwriteXClassName
)
public:
void Validate(
    ActivityDescription^ description,
    bool overwriteXClassName
)
member Validate : 
        description:ActivityDescription *
        overwriteXClassName:bool -> unit
Public Sub Validate (
    description As ActivityDescription,
    overwriteXClassName As Boolean
)

Parameters

  • overwriteXClassName
    Type: System.Boolean

    True if x:ClassName attribute in xaml should be overwritten by the Name property specified in ActivityDescription. False if otherwise.

Remarks

ActivityValidationExceptionis thrown If validation fails.

Return to top

ActivityManager.Validate Method (IEnumerable<ActivityDescription>)

Validates a collection of workflow activities.

Syntax

public void Validate(
    IEnumerable<ActivityDescription> descriptions
)
public:
void Validate(
    IEnumerable<ActivityDescription^>^ descriptions
)
member Validate : 
        descriptions:IEnumerable<ActivityDescription> -> unit
Public Sub Validate (
    descriptions As IEnumerable(Of ActivityDescription)
)

Parameters

Remarks

ActivityValidationExceptionis thrown If validation fails.

Return to top