> ## 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.

# SendTaskToException

> Die Methode SendTaskToException in der ABBYY FlexiCapture Web Services API verschiebt einen Task mit einem optionalen Kommentar und einem Flag für die Nachbearbeitung in die Exceptions-Stufe.

<div id="what-it-does">
  ## Was es macht
</div>

Verschiebt eine Aufgabe in die Exceptions-Stufe.

<div id="definition">
  ## Definition
</div>

```
void SendTaskToException( int sessionId, int taskId, string comment, bool needPostprocessing );
```

<div id="parameters">
  ## Parameter
</div>

| **Name**           | **Typ** | **Beschreibung**                                                               |
| ------------------ | ------- | ------------------------------------------------------------------------------ |
| sessionId          | int     | Die ID der Verbindung zum Application Server                                   |
| taskId             | int     | Die ID der Aufgabe, die an die Exceptions-Stufe gesendet werden soll           |
| comment            | string  | Ein Kommentar zur Aufgabe                                                      |
| needPostprocessing | bool    | Das Flag, das angibt, ob eine Nachbearbeitung erforderlich ist. Mögliche Werte |

<div id="returned-value">
  ## Rückgabewert
</div>

Kein Rückgabewert.
