## RecognitionAbortedException class

Represents recognition abort exception which is thrown in timeout exceeding during recognition with BarCodeReader.

```csharp
public class RecognitionAbortedException : BarCodeRecognitionException
```

## Constructors

| Name | Description |
| --- | --- |
| [RecognitionAbortedException](recognitionabortedexception/#constructor)() | Initializes a new instance of the `RecognitionAbortedException` class with specified recognition abort message. |
| [RecognitionAbortedException](recognitionabortedexception/#constructor_1)(int) | Initializes a new instance of the `RecognitionAbortedException` class with specified recognition abort message. |
| [RecognitionAbortedException](recognitionabortedexception/#constructor_2)(string, int) | Initializes a new instance of the `RecognitionAbortedException` class with specified recognition abort message. |

## Properties

| Name | Description |
| --- | --- |
| [ExecutionTime](../../aspose.barcode.barcoderecognition/recognitionabortedexception/executiontime/) { get; set; } | Gets the execution time of current recognition session |

## Methods

| Name | Description |
| --- | --- |
| override [GetObjectData](../../aspose.barcode.barcoderecognition/recognitionabortedexception/getobjectdata/)(SerializationInfo, StreamingContext) | When overridden in a derived class, sets the SerializationInfo with information about the exception. |

### See Also

* class [BarCodeRecognitionException](../barcoderecognitionexception/)
* namespace [Aspose.BarCode.BarCodeRecognition](../../aspose.barcode.barcoderecognition/)
* assembly [Aspose.BarCode](../../)


