Class RecognitionAbortedException

Class RecognitionAbortedException

Namespace: Aspose.BarCode.BarCodeRecognition
Assembly: Aspose.BarCode.dll (25.2.0)

Represents recognition abort exception which is thrown in timeout exceeding during recognition with BarCodeReader.

public class RecognitionAbortedException : BarCodeRecognitionException, ISerializable

Inheritance

objectExceptionBarCodeRecognitionExceptionRecognitionAbortedException

Implements

ISerializable

Inherited Members

Exception.GetBaseException(), Exception.ToString(), Exception.GetType(), Exception.TargetSite, Exception.Message, Exception.Data, Exception.InnerException, Exception.HelpLink, Exception.Source, Exception.HResult, Exception.StackTrace, Exception.SerializeObjectState, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

RecognitionAbortedException()

Initializes a new instance of the Aspose.BarCode.BarCodeRecognition.RecognitionAbortedException class with specified recognition abort message.

public RecognitionAbortedException()

RecognitionAbortedException(int)

Initializes a new instance of the Aspose.BarCode.BarCodeRecognition.RecognitionAbortedException class with specified recognition abort message.

public RecognitionAbortedException(int executionTime)

Parameters

executionTime int

The execution time of current recognition session.

RecognitionAbortedException(string, int)

Initializes a new instance of the Aspose.BarCode.BarCodeRecognition.RecognitionAbortedException class with specified recognition abort message.

public RecognitionAbortedException(string message, int executionTime)

Parameters

message string

The error message of the exception.

executionTime int

The execution time of current recognition session.

RecognitionAbortedException(SerializationInfo, StreamingContext)

Initializes a new instance of the Aspose.BarCode.BarCodeRecognition.RecognitionAbortedException class with specified recognition abort message.

protected RecognitionAbortedException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

Holds the serialized object data about the exception being thrown.

context StreamingContext

Contains contextual information about the source or destination.

Properties

ExecutionTime

Gets the execution time of current recognition session

public int ExecutionTime { get; set; }

Property Value

int

Methods

GetObjectData(SerializationInfo, StreamingContext)

When overridden in a derived class, sets the SerializationInfo with information about the exception.

public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

Holds the serialized object data about the exception being thrown.

context StreamingContext

Contains contextual information about the source or destination.

 English