> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CancelTask

> ABBYY FlexiCapture Web Services API の CancelTask メソッドを使用して、ID で指定したタスクの処理を中止します。

<div id="what-it-does">
  ## 機能
</div>

タスクの処理を中止します。

<div id="definition">
  ## 定義
</div>

```
void CancelTask( int sessionId, int taskId );
```

<div id="parameters">
  ## パラメーター
</div>

| **名前**    | **型** | **説明**                      |
| --------- | ----- | --------------------------- |
| sessionId | int   | Application Server への接続の ID |
| taskId    | int   | キャンセル対象のタスクの ID             |

<div id="returned-value">
  ## 戻り値
</div>

なし。
