Share via


ITaskService Interface

Represents an ExternalDataExchangeService interface that enables workflow activities to request actions and handle events concerning workflow tasks, outside the workflow instance itself.

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

Syntax

<CorrelationParameterAttribute("taskId")> _
<ExternalDataExchangeAttribute> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Interface ITaskService

Dim instance As ITaskService
[CorrelationParameterAttribute("taskId")]
[ExternalDataExchangeAttribute]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public interface ITaskService

Remarks

The following workflow activities in the Microsoft.SharePoint.WorkflowActions namespace can be used to call methods provided by this interface:

In addition, the following workflow activities can be used to respond to events raised by this service:

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

See Also

Reference

ITaskService Members

Microsoft.SharePoint.Workflow Namespace