共用方式為


SPWorkflowExternalDataExchangeService.AfterWorkflowRun Method

When overridden in a derived class, represents the method that will be called after the specified workflow completes.

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

Syntax

'Declaration
Public Overridable Sub AfterWorkflowRun ( _
    instanceId As Guid _
)
'Usage
Dim instance As SPWorkflowExternalDataExchangeService
Dim instanceId As Guid

instance.AfterWorkflowRun(instanceId)
public virtual void AfterWorkflowRun(
    Guid instanceId
)

Parameters

  • instanceId
    Type: System.Guid

    The globally unique identifier (GUID) of the workflow instance.

Remarks

This method is called after the specified workflow completes to perform cleanup tasks.

See Also

Reference

SPWorkflowExternalDataExchangeService Class

SPWorkflowExternalDataExchangeService Members

Microsoft.SharePoint.Workflow Namespace