Share via


SetState Class

Sets 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

<ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", True)> _
<ToolboxBitmapAttribute(GetType(SetState), "Resources.SetState.bmp")> _
Public NotInheritable Class SetState _
    Inherits CallExternalMethodActivity

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 Windows SharePoint Services 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)