Share via


TaskflowWebService.ExitTask Method

Cancels the running workflow instance with the specified parentId and marks the task as complete.

Namespace:  OBA.Server.Taskflow
Assembly:  OBA.Server.Taskflow (in OBA.Server.Taskflow.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Sub ExitTask ( _
    rootSiteUrl As String, _
    parentId As String, _
    reason As String _
)
'Usage
Dim instance As TaskflowWebService
Dim rootSiteUrl As String
Dim parentId As String
Dim reason As String

instance.ExitTask(rootSiteUrl, parentId, _
    reason)
[WebMethodAttribute]
public void ExitTask(
    string rootSiteUrl,
    string parentId,
    string reason
)

Parameters

  • parentId
    Type: System.String

    Specifies the parentId of the workflow instance to be canceled.

  • reason
    Type: System.String

    A string representing the reason for the cancelation.

See Also

Reference

TaskflowWebService Class

TaskflowWebService Members

OBA.Server.Taskflow Namespace