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

> La méthode SendTaskToException de l’API Web Services FlexiCapture d’ABBYY oriente une tâche vers l’étape Exceptions, avec un commentaire facultatif et un indicateur de post-traitement.

<div id="what-it-does">
  ## Ce que cela fait
</div>

Envoie une tâche à l’étape Exceptions.

<div id="definition">
  ## Définition
</div>

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

<div id="parameters">
  ## Paramètres
</div>

| **Nom**            | **Type** | **Description**                                                              |
| ------------------ | -------- | ---------------------------------------------------------------------------- |
| sessionId          | int      | L’ID de la connexion à l’Application Server                                  |
| taskId             | int      | L’ID de la tâche à envoyer à l’étape Exceptions                              |
| comment            | string   | Un commentaire associé à la tâche                                            |
| needPostprocessing | bool     | L’indicateur qui précise si un post-traitement est requis. Valeurs possibles |

<div id="returned-value">
  ## Valeur de retour
</div>

Aucune.
