共用方式為


ITaskService Members

Include Protected Members
Include Inherited Members

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

The ITaskService type exposes the following members.

Methods

  Name Description
Public method CompleteTask Marks the specified workflow task as complete.
Public method CreateTask Creates a new workflow task.
Public method CreateTaskWithContentType Creates a new workflow task of the specified content type.
Public method DeleteTask Deletes the specified workflow task.
Public method RollbackTask Rolls back the specified task.
Public method UpdateTask Updates a workflow task with the specified properties.

Top

Events

  Name Description
Public event OnTaskChanged Raised when the properties of a workflow task are changed.
Public event OnTaskCreated Raised when the a workflow task is created.
Public event OnTaskDeleted Raised when the a workflow task is deleted.

Top

See Also

Reference

ITaskService Interface

Microsoft.SharePoint.Workflow Namespace