Share via


CoerceActivityValidator class

Provides the CoerceActivity 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.CoerceActivityValidator

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

Syntax

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

Remarks

The CoerceActivityValidator 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

CoerceActivityValidator members

Microsoft.SharePoint.WorkflowActions namespace