共用方式為


IWorkflowModificationService Interface

Represents an ExternalDataExchangeService interface that enables workflow activities to request a workflow modification be enabled, and to respond when the workflow is modified, outside the workflow instance itself.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<CorrelationParameterAttribute("modificationId")> _
<ExternalDataExchangeAttribute> _
Public Interface IWorkflowModificationService
'Usage
Dim instance As IWorkflowModificationService
[CorrelationParameterAttribute("modificationId")]
[ExternalDataExchangeAttribute]
public interface IWorkflowModificationService

Remarks

You can use the EnableWorkflowModification workflow activity in the Microsoft.SharePoint.WorkflowActions namespace to request a workflow modification be enabled.

You can use the OnWorkflowModified activity to respond to the event of the workflow being modified.

When this service raises an event, the event parameters are contained in the SPModificationEventArgs class.

For more information on workflow modifications, see Workflow Modification Forms (SharePoint Foundation).

See Also

Reference

IWorkflowModificationService Members

Microsoft.SharePoint.Workflow Namespace