ImpersonationSequenceActivityValidator.Validate Method
Verifies that the specified activity is valid.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Overrides Function Validate ( _
manager As ValidationManager, _
obj As Object _
) As ValidationErrorCollection
'Usage
Dim instance As ImpersonationSequenceActivityValidator
Dim manager As ValidationManager
Dim obj As Object
Dim returnValue As ValidationErrorCollection
returnValue = instance.Validate(manager, _
obj)
public override ValidationErrorCollection Validate(
ValidationManager manager,
Object obj
)
Parameters
manager
Type: System.Workflow.ComponentModel.Compiler.ValidationManagerA ValidationManager object that contains contextual information such as property validation, parent and child activity relationships, and so on.
obj
Type: System.ObjectThe workflow activity that must be validated.
Return Value
Type: System.Workflow.ComponentModel.Compiler.ValidationErrorCollection
Returns ValidationErrorCollection.
See Also
Reference
ImpersonationSequenceActivityValidator Class