Share via


CommentActivityValidator class

Provides the CommentActivity class with a validator that can be used to check for and prevent invalid input values and also to prevent potential unhandled exceptions.

Inheritance hierarchy

System.Object
  System.Workflow.ComponentModel.Compiler.Validator
    System.Workflow.ComponentModel.Compiler.DependencyObjectValidator
      System.Workflow.ComponentModel.Compiler.ActivityValidator
        Microsoft.SharePoint.WorkflowActions.CommentActivityValidator

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
Public NotInheritable Class CommentActivityValidator _
    Inherits ActivityValidator
'Usage
Dim instance As CommentActivityValidator
public sealed class CommentActivityValidator : ActivityValidator

Remarks

The CommentActivityValidator class is a sealed class and cannot be inherited or overridden.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

CommentActivityValidator members

Microsoft.SharePoint.WorkflowActions namespace