This documentation is archived and is not being maintained.

ITaskService Interface

Windows SharePoint Services 3

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)

[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public interface ITaskService

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.