Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class CreateTaskValidator

Validates CreateTask activity that if AssociatedActivity is given is points to an activity that has ActivityPlugInAttribute

Inheritance
System.Object
CreateTaskValidator
Namespace: EPiServer.WorkflowFoundation.Activities
Assembly: EPiServer.WorkflowFoundation.dll
Version: 7.19.2
Syntax
public class CreateTaskValidator : ActivityValidator

Constructors

CreateTaskValidator()

Declaration
public CreateTaskValidator()

Methods

Validate(ValidationManager, Object)

Verifies that the given activity is valid.

Declaration
public override ValidationErrorCollection Validate(ValidationManager manager, object obj)
Parameters
Type Name Description
System.Workflow.ComponentModel.Compiler.ValidationManager manager

The System.Workflow.ComponentModel.Compiler.ValidationManager associated with validation.

System.Object obj

The System.Workflow.ComponentModel.Activity to be validated.

Returns
Type Description
System.Workflow.ComponentModel.Compiler.ValidationErrorCollection

A System.Workflow.ComponentModel.Compiler.ValidationErrorCollection object containing any errors or warnings that occurred during validation.

Extension Methods