EnableWorkflowModification class

Defines a workflow activity that is used to enable a workflow modification form, so that the modification can be listed as an available workflow modification in the Microsoft SharePoint Foundation user interface.

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

[ToolboxBitmapAttribute(typeof(EnableWorkflowModification), "Resources.EnableWorkflowModification.bmp")]
[ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", true)]
public sealed class EnableWorkflowModification : CallExternalMethodActivity

This activity implements the IWorkflowModificationService.EnableWorkflowModification method.

While the workflow modification is enabled, SharePoint Foundation displays the list of enabled modifications on the workflow status page. When the user selects the modification, SharePoint Foundation launches the modification form, enabling the user to modify the workflow while it is in progress. The indicated form and related completion task are made available as part of the workflow.

Placement of this activity directs where the scope of the modification should be active. When the activity that holds this activity finishes in the workflow, the workflow modification is disabled: SharePoint Foundation removes the modification name from the workflow modification page in the user interface.

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