共用方式為


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
<ToolboxBitmapAttribute(GetType(SetState), "Resources.SetState.bmp")> _
<ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", True)> _
Public NotInheritable Class SetState _
    Inherits CallExternalMethodActivity
'Usage
Dim instance As SetState
[ToolboxBitmapAttribute(typeof(SetState), "Resources.SetState.bmp")]
[ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", true)]
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)