Partilhar 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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ExternalDataExchangeAttribute> _
<CorrelationParameterAttribute("taskId")> _
Public Interface ITaskService
'Usage
Dim instance As ITaskService
[ExternalDataExchangeAttribute]
[CorrelationParameterAttribute("taskId")]
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