SetState class

Defines a workflow activity that is used to set the status of the workflow.

Inheritance hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      System.Workflow.Activities.CallExternalMethodActivity
        Microsoft.SharePoint.WorkflowActions.SetState

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

Syntax

'Declaration
<ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", True)> _
<ToolboxBitmapAttribute(GetType(SetState), "Resources.SetState.bmp")> _
Public NotInheritable Class SetState _
    Inherits CallExternalMethodActivity
'Usage
Dim instance As SetState
[ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", true)]
[ToolboxBitmapAttribute(typeof(SetState), "Resources.SetState.bmp")]
public sealed class SetState : CallExternalMethodActivity

Remarks

This workflow status displays in the status column for the workflow, and on the workflow status page in the Microsoft SharePoint Foundation user interface.

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

SetState members

Microsoft.SharePoint.WorkflowActions namespace

Other resources

Workflow Stages

ExtendedStatusColumnValues Element (Workflow)

StatusColumnValue Element (Workflow)